nagiosexchange.org

Syndiquer le contenu
NagiosExchange.org - Opensource Nagios Resources
Mis à jour : il y a 1h 51 min

Check VMWare Server 2 virtual maschines

jeu, 04/12/2008 - 01:00
Plugin for checking VMWare Server 2.0 for running vm's. The plugin is written for linux. Plugin for checking VMWare Server 2.0 for running vm's.
The plugin is written for linux.
Catégories: nagios

Blosxom4Nagios

jeu, 04/12/2008 - 01:00
A flexible powerful RSS/Atom notification handler for Nagios Blosxom4Nagios is a special purpose Blosxom instance for handling Nagios notifications and producing RSS and atom feeds of them, as well as a pretty web interface. It differs from some of the other RSS-handlers in that all notifications are 'tagged' with hostnames, hostgroup names, service names, servicegroup names, etc., allowing you to slice and dice your views and your feeds however you wish. Setup is straightforward: drop into a directory somewhere (/var/log/nagios/blosxom, by default); hook up to nagios notifications; hook up to apache; enjoy.
Catégories: nagios

check_infortrend

lun, 01/12/2008 - 01:00
Nagios plugin which checks the status of an Infortrend EonStor RAID array. Nagios plugin which checks the status of an Infortrend EonStor RAID array. The plugin uses
telnet over ethernet to the Infortrend EonStor array.

Usage: check_infortrend [options]
where the valid options are
-h, --help Output this usage information.
-d, --debug Debug level.
-a, --array The name of the infortrend array.
-p, --password The password for the array.
-m, --model The model of array (known models are:
T6100F, PV610F and A24F-R2430.
-e, --expected The number of drives expected.
Examples:
check_infortrend -a 192.168.128.3 -p 3142 -m A24F-R2430 -e 24
check_infortrend -a my-array-03 -p 3142 -m T6100F -e 16
Typical output:
OK - array 192.168.128.3 (24 / 24 physical drives OK).
OK - array my-array-03 (16 / 16 physical drives OK).

Requires the following perl modules: File::Spec::Unix, Getopt::Long and Net::Telnet.
Although written for specific models, it will probably work for others too.

Catégories: nagios

Solaris 10 zones checker

lun, 01/12/2008 - 01:00
Check the zones status Ver 1.0
Catégories: nagios

Check Exchange Top Mailbox Sizes

ven, 28/11/2008 - 01:00
Check_mboxsize.wsf Another Nagios plugin. One of my hardest to write. Note that this will require the Nagios Plugin Service to run as a Administrator Account (local system account) will not work! Script example: …nagios/libexec# ./check_nrpe -H SERVER114 -t 90 -u -c get_top_mbox -a SERVER114 3 2000 4000 WARNING - Full Name, Mona , 2.517,00 MB - San Pil, Eric , 1.175,00 MB - Cabo Boiola, Manul , 991,00 MB Download code directly from here: http://www.xoroz.com/files/scripts/nagios/check_emailers.wsf more about it here
http://felipeferreira.net/?p=126
Catégories: nagios

Linksys WRT-54 GL / DD-WRT SNMP Check

ven, 28/11/2008 - 01:00
Check CPU and RAM Usage on a Linksys WRT-54 GL running open-source firmware dd-wrt. tested versions: V2.3 SP1, V2.4, V2.4 SP1 note: you have to activate snmp on your dd-wrt ! cpu check:

define command{
command_name check_linksys_cpu
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o 1.3.6.1.4.1.2021.10.1.5.1 -u % -w 60 -c 70
}

ram check:

define command{
command_name check_linksys_ram
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o 1.3.6.1.2.1.25.2.3.1.6.101 -u kb -w 13100 -c 13150
}
Catégories: nagios

Nagios Monitor Google Gadget

ven, 28/11/2008 - 01:00
A google gadget for igoogle to show Nagios problems. Add button can be found here http://www.simonmclaughlin.co.uk/page/Gadgets/
Catégories: nagios

check_complus.vbs

ven, 28/11/2008 - 01:00
VBScript to check COM+ metrics via NRPE (NSClient++ with NRPE Listener) Usage:
++++++

For use with NSClient++ please add the following line to your NSC.INI [NRPE Handlers]:

check_complus=cscript.exe //T:30 //NoLogo scripts\check_complus.vbs $ARG1$

and copy "check_complus.vbs" into "scripts\" folder. Refer to NSClient++ Documentation for using remote checks via NRPE.

###command definition###

define command {
command_name check_complus
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_complus -a $ARG1$
}

###service definition###

define service{
use generic-service
host_name WINSVR01
service_description COMplus System Application PoolPagedBytes
process_perf_data 1
check_command check_complus!"COUNTER \\\"System Application\\\" PoolPagedBytes 1048576 1048576"
}


What it does:
+++++++++++++

This script is for monitoring COM+ Applications. You can give the name of a COM+ Application and specify a performance counter to be monitored. See service definition above. It will return:

PoolPagedBytes OK - System Application (PID 5260): 92060

plus performance data.

cscript //nologo check_complus.vbs --help

gives you brief syntax help.

cscript //nologo check_complus.vbs --helpcounter

gives you a list of suipported counters.

Disclaimer:
+++++++++++

This software comes without any warranty and has to be treated "as is". Feel free to change it to fit your needs or contact me for any kind of comment.
Catégories: nagios

check_php_sess

jeu, 27/11/2008 - 01:00
Nagios script to check the number of active PHP sessions

Nagios script to check the number of active PHP sessions
This script has been written for the lowest common denominator of shells (sh) and uses sudo, ls and wc as external commands.
The locations of these and other parameters can easily be changed by editing the variables at the top of the script.

Changelog:
1.0 - Internal release
1.1 - Internal release
1.2 - Initial release

Catégories: nagios

Plugin to check Servers Load using SNMP

jeu, 27/11/2008 - 01:00
I tried a perl script to check the load of several server using SNMP, but it not worked and I could not find hos to do to It work. So, I write my own plugin using shel script! It is a simple scritp, uses snmpwalk to retrieve the load, parse the parameters that are passed against wrong insertions, checks the output of snmpwalk, compares it with the load passed and emit the information.

I belive It could be used as base to new SNMP scripts.

I'm not a professional scripter, so I used some tricks on field validation.
Any Improvement to this script is welcome (Just don't forget to e-mail me it)!

Catégories: nagios

check_snmp_hpux_mem

jeu, 27/11/2008 - 01:00
This plugin checks the memory of systems running HP-UX machines. Designed for HP-UX v11.11 but should work against any HP-UX machine with SNMP v2c enabled.

Usage: check_snmp_hpux_mem

Tests if the percentage of free memory is less or equal than the warning and critical values. Both should be passed as integers.

A. van der Heiden
R. Hage
www.realopenit.nl
Catégories: nagios

Check file size

jeu, 27/11/2008 - 01:00
check_myfilesiz.pl

This plugin determines the size of a LINUX files in any directory. It can also be use on any Unix/Linux platform. You need basic package of perl to run this plugin.

Usage: check_myfilesize.pl filename Critical_size(in KB) Warning_size( in KB)

If anyone face any difficulty to use this plugin then feel free to write me.

Catégories: nagios

check_gpfs

jeu, 27/11/2008 - 01:00
Nagios plugin (script) to check the status of the gpfs process running on one node.

Nagios plugin (script) to check the status of the gpfs process running on one node.
This script has been designed and written on Linux for the lowest common denominator of shells (sh), requiring sudo, tail and grep as external programs.
The locations of these can easily be changed by editing the variables at the top of the script.

The script simply runs mmgetstate to get the status of the node on which it is run and returns accordingly.

Changelog:
1.0 - Internal release
1.1 - Initial Release

Catégories: nagios

check_iostat

jeu, 27/11/2008 - 01:00
Nagios plugin (script) to check I/O status. Nagios plugin (script) to check I/O status.
This script has been designed and written on Linux for the lowest common denominator of shells (sh), requiring iostat, grep and awk as external programs.
The locations of these can easily be changed by editing the variables at the top of the script.

The script allows threshold levels to be set on I/O transactions per second and KB/s in and out.

Changelog:
1.0 - Internal release
1.1 - Internal release
1.2 - Internal release
1.3 - Initial Release
Catégories: nagios

check_NbUsers

jeu, 27/11/2008 - 01:00
This plugin will give number of users currently logging and not number of actif session (like check_users should do)
Catégories: nagios

Check Services on SUN Solaris (5.10) with svcs

jeu, 27/11/2008 - 01:00
Shell Script Plugin to Check the state of the Services on Solaris. solaris svcs check script, writen as shell script, not very complex ;-)

the follwing states are reconized:

0 | OK | if online
1 | WARNING | if disabled
1 | WARNING | if maintenance
2 | CRITICAL | if offline
3 | UNKNOWN | if not available or it returns another state
Catégories: nagios

A Howto to send Nagios or op5 Monitor notifications via MSN.

mer, 26/11/2008 - 01:00
A howto to send Nagios or op5 Monitor notifications via MSN. I've used msnp_status.pl at http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2786.html;d=1. Take a look at http://www.it-slav.net/blogs/?p=408
Catégories: nagios

check_rrdtraf

mar, 25/11/2008 - 01:00
A plugin to check MRTG traffic stored in RRD files. Similar to the check_mrtgtraf plugin distributed with the Nagios plugins, but for use when the LogFormat: rrdtool option is set in MRTG.

This plugin will check a MRTG RRD file for the current incoming and outgoing traffic levels, and alert if they exceed a specified threshold. Features include:

* Separate incoming/outgoing warning/critical thresholds
* Ability to check the age of the .rrd files to verify they are being updated
* Ability to set the units used to display data (bps, kbps, mbps, gbps)

November 25, 2008 - Changes in v0.5
* Bug: typo in OS type check causing occasional issues
* Added: Now sets the LC_NUMERIC environment variable to (hopefully) solve issues caused by systems that used different number formats than the script expected.

Please see the INSTALL, README and Changes files included in the package for more information.

Catégories: nagios

Wrapper Check_AutoIT

mar, 25/11/2008 - 01:00
Wrapper-Script for using End2End-Monitoring.exe create with AutoIt Wrapper-Script for using End2End-Monitoring.exe create with AutoIt

- you don' t needed AutoIT installing at your windows-system if you run only the *.exe files

# requirement
- Running and Configuring NSClient++ at your windows-system for NRPE
- Allow receiving Arguments in the NSC.ini

for installing the wrapperscript and the example .exe file please read the README.TXT




- for change or modify the wikisearch.exe use the wikisearch.au3 file and compile a new file.
- in the example we read parameters from the commandline and from a config.ini file. it is verry easy to change this mechanism.


Catégories: nagios

check_iflocal

mar, 25/11/2008 - 01:00
Monitors ethernet interface health on a Linux box This script checks the 4 values found in the output of ifconfig RX Errors, TX Errors, RX dropped, TX dropped. It assumes that if the interface is functioning properly, these values will be 0. Rather than flag absolute values the script flags delta values from one invocation to the next. It is also smart enough to reset itself e.g. on reboot

See the output of check_iflocal --help for more details.
Catégories: nagios