Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now

Plugins4379Themes and Skins11Add-ons733Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Clustering and High-Availability Check HaProxy Configuration
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (4)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)TcoUpLoad (1)
See More
Newest Contributors
Community Member (51)Shota Kohno (1)Davide Lemma (4)Alarig Le Lay (1)Penn Rabb (1)
See More
Home > Majed
M

Majed

@Majed

User Stats

Favorites0

Views

Projects0

No Projects Found
Check Ping - with MTR and custom outputs

hard to configure

took me a long time to get it running, but happily i succeded. sudo needs to be installed. tried 2 other mtr plugins to no nice results. The problem is that graphs produced are empty, or is that expected?

Reviewed 8 years ago

Martin

there is a bug

/usr/lib/nagios/plugins# ./check_mtr -H 94.x.y.z ./check_mtr:54:in `run_mtr': undefined method `captures' for nil:NilClass (NoMethodError) from ./check_mtr:50:in `each' from ./check_mtr:50:in `run_mtr' from ./check_mtr:11:in `initialize' from ./check_mtr:136:in `new' from ./check_mtr:136 there is a bug in the script. i ran it under latest ubuntu after installing ruby.

Reviewed 12 years ago

Check Cisco switch error disable

doesn't work on nagios 4

tried emailing the author but the email is invalid

Reviewed 7 years ago

check_cisco_ports_bandwidth

how about snmp v3 support

how about make it support snmpv3 instead of just the previous versions?

Reviewed 10 years ago

sgichk_vpn_lics.pl

does not work!

tired it on an isr router and a cisco like device. produces: Argument "noSuchObject" isn't numeric in subtraction (-) at ./sgichk_vpn_lics.pl line 271. Argument "noSuchObject" isn't numeric in subtraction (-) at ./sgichk_vpn_lics.pl line 271. Argument "noSuchObject" isn't numeric in division (/) at ./sgichk_vpn_lics.pl line 274. Illegal division by zero at ./sgichk_vpn_lics.pl line 274.

Reviewed 6 years ago

check_iftraffic5.pl

how about snmp v3 support

i wanted to monitor cisco nexus 5000 but it needs snmpv3 so why not support it?

Reviewed 10 years ago

check_ftp_rw

works fine

checks even if it can download a file from ftp by actually downloading it. at first it gave me big problems such as an error like this: Can't locate Net/FTPSSL.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux so i: #perl -MCPAN -e shell and installed Net::FTPSSL by issuing the command install Net::FTPSSL and it took over an hour to install because it had lots of dependencies and many connection refused errors, but it worked great in the end here is the nagios output: FTP OK - 0.035 second response time on port 21 [220 (vsFTPd 2.3.4)]

Reviewed 14 years ago

check_smb_share

does what it says

checks as promises except i thought i could check directly from nagios but it turned out to work only through nrpe from the remote samba server. example: ./check_smb_share -H 10.1.1.11 -s install where install is the name of the folder.

Reviewed 14 years ago

Check CPU Performance

doesn't work on gentoo

great except that ot doesn't work on gentoo other than that garphs on pnp4nagios and produces output through nrpe.

Reviewed 14 years ago

Vmware ESX & VM host

needs a lot of tweaking

first in perl as other mentioned install Nagios::Plugin then install Crypt::SSLeay install Compress::Zlib install Class::MethodMaker if you get the error "Permission to perform this operation was denied." the set Permissions on ESX (i) check. The created user must be in the group users and be placed under Permissions to Read Only. if you get : SSL_verify_mode of SSL_VERIFY_NONE for client is depreciated! then #perl -MCPAN -e shell #install GAAS/libwww-perl-5.837.tar.gz #install GAAS/Net-HTTP-6.03.tar.gz information got from the forum : http://communities.vmware.com/message/2202177

Reviewed 12 years ago

Check SMART status modified

doesn't work through nrpe

first i was getting a sudo error so i installed sudo. then i had the line 110 error so i added the line if (!defined($number)) { $number = 0; } in 110 but i started to get unknown state in command line then i added the 2 line on 110 which are : if (!defined($number)) { $number = 0; } if ($interface eq 'megaraid'.",".$number or $interface eq 'scsi'){ so when i run: ./check_smart -i ata -d /dev/sda i get: OK: no SMART errors detected|Raw_Read_Error_Rate=0 Spin_Up_Time=3175 Start_Stop_Count=0 Reallocated_Sector_Ct=0 Seek_Error_Rate=0 Power_On_Hours=30537 Spin_Retry_Count=0 Calibration_Retry_Count=0 Power_Cycle_Count=37 Power-Off_Retract_Count=25 Load_Cycle_Count=37 Temperature_Celsius=42 Reallocated_Event_Count=0 Current_Pending_Sector=0 Offline_Uncorrectable=0 UDMA_CRC_Error_Count=0 Multi_Zone_Error_Rate=0 but then when i define it in nrpe as: command[check_smart]=/usr/local/nagios/libexec/check_smart -i ata -d /dev/sda and in nagios as: define service{ use local-service host_name storage service_description smart WD check_command check_nrpe!check_smart! notifications_enabled 1 i get as output in nagios: critical: NRPE: Unable to read output anyone had it work through nrpe?

Reviewed 14 years ago

check_fsc_blade_health

joke

the plugin is zero byte in size, what is built in?

Reviewed 13 years ago

Check memory and swap usage on Windows or Linux Server using SNMP queries

produces error.

on a 12 GB memory produces an error: ./check_snmp_memory.txt -H 172.16.1.100 -C snmp -w 80 -c 90 ./check_snmp_memory.txt: line 123: /usr/bin/bc: No such file or directory ./check_snmp_memory.txt: line 123: /usr/bin/bc: No such file or directory ./check_snmp_memory.txt: line 123: /usr/bin/bc: No such file or directory ./check_snmp_memory.txt: line 123: /usr/bin/bc: No such file or directory Memory usage : Go used for a total of Go (92%), SWAP usage : Go used for a total of Go (45%)| total=12873891840B;10299113472;11586502656;0 used=11957960704B;0;0;0 swap=12575440896B;0;0;0 buffer=0B;0;0;0 cache=0B;0;0;0

Reviewed 14 years ago

iftraffic2

great

saved my day :) a great replacement for check_snmp_int which gives false critical too often, this script unlike all other traffic plugins is able to check the pppoe interface on the modem and roduce results with perfdata to graph :)

Reviewed 14 years ago

Check S.M.A.R.T or PFA errors

works as promised

of course i don't have a failing disk to see a critical state but it shows in nagios OK : No PFA/S.M.A.R.T errors detected here how i set it up: 1. Copy smartpfa.vbs into nsclient directory into scripts folder 2. Paste the following line into nsclient.ini file in the [wrapped scripts] sectioncheck_smartpfa=smartpfa.vbs /nologo /T:60 3. Restart nscleint in cmd type: net stop nsclientpp then net start nsclientpp 4. In nagios define the command $USER1$/check_nrpe_smart -H $HOSTADDRESS$ -c check_smartpfa 5. In services define: define service{ use generic-service host_name myworkstation service_description nrpe smart check_command check_nrpe_smart }

Reviewed 14 years ago

iferrors

well it works

it gives output 0 errors out 0 errors in but i have no idea if the errors are actually 0 on my hp procurve switch

Reviewed 14 years ago

Check_snmp_cisco_memfree

doesn't work

this archive is corrupt. can't tar it, please upload a fixed one.

Reviewed 14 years ago

check_bandwidth3

works on 32 bit os

works well for a win 7 32 bit monitoring bandwidth on a physical network card but gives 0.00 on win server 2003 64bit it seems to still have an issue with 64 bit operating systems might want to check on that. i'm using the latest release.

Reviewed 14 years ago

Perl check radius

Works as needed

Except would have loved to see the response time... and even perf data

Reviewed 7 years ago

check_tacacs_plus

Aid

the upper review made me think the script is buggy. To make it work, do what was mentioned above and add the nagios ip to the tacacs server, then it will result in authentication ok. in nagios it nagged about utils.pm not present. to fix this change the lib line in the script to point to utils.pm folder which should be that of the plugin.

Reviewed 8 years ago

check_smb

works good

though it doesn't work directly from nagios like i though i does check linux servers through nrpe gives: OK Domain=[PLG] OS=[Unix] Server=[Samba 3.4.12] had to use another plugin to check specific shares.

Reviewed 14 years ago

Advanced Network Interface Check - check_netint / check_snmp_netint

disappointing

well it does show if the interface is up or down but it didn't work with bandwidth at least not on windows machines. in the command line it does give output with bandwidth and sometimes says no usable data - 37 rows. in nagios it just gives an unknown error for the command check line: /usr/bin/perl $USER1$/check_snmp_netint.pl -H 10.1.1.94 -C public -n Realtek -O 1.3.6.1.2.1.2.2.1.2 output: unknown 2 warning levels for bandwidth checks

Reviewed 14 years ago

check_squid

the below pasted script also produces an error

First Nagios:Plugin has been scratched and replaced with Monitorin g::Plugin so I replaced all the instances of Nagios::Plugin. Still I get the error: ./check_squid2.pl -H 10.0.0.2 -p 80 Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. Use of uninitialized value in sprintf at /usr/lib/perl5/site_perl/5.18.2/Monitoring/Plugin/Performance.pm line 67. SQUID2 OK - Squid have clients and ICP requests queued | 'HTTP requests'=c;; 'sent ICP requests'=c;; 'received ICP requests'=c;; squid version 4 who wants to fix this?

Reviewed 8 years ago

check_win_snmp_storage.pl

produces results but..

with no performance data so it can't be graphed so it's no substitute for check mem through nrpe

Reviewed 14 years ago

check_cpu.sh

almost great

works remotely through nrpe. can be graphed with pnp4nagios, does execute from command line ./check_cpu.sh but doesn't work locally when defined in nagios services and commands says (timeout) that's at least on gentoo.

Reviewed 14 years ago

Not available any longer 2

still doesn't work on linux

the readme is not clear but i used the command check_oracle.pl to get an output and here is the output i got: srvmonm plugins # ./check_oracle.pl ./check_oracle.pl: line 9: use: command not found ./check_oracle.pl: line 10: use: command not found ./check_oracle.pl: line 11: use: command not found ./check_oracle.pl: line 13: our: command not found ./check_oracle.pl: line 29: syntax error near unexpected token `(' ./check_oracle.pl: line 29: `our %status_text = ('

Reviewed 14 years ago

Check hardware running VMware ESXi

was very troublesome to get to work

here is a guide to set it up working to save you some time (gentoo configuration) 1. Emerge python 2. Download pywbem-0.7.0.tar.gz from http://sourceforge.net/projects/pywbem/files/pywbem/pywbem-0.7/ 3. tar –xvf pywbem-0.7.0.tar.gz 4. cd pywbem-0.7.0.tar.gz 5. python setup.py build 6. python setup.py install 7. to test pywbem : $ python Python 2.6.6 (r266:84292, Sep 14 2011, 06:53:15) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pywbem >>> 8. srvmon-Bellakt plugins # ./check_esx_wbem.py https://10.1.1.xxx:5989 root password if you get the following error (i was testing on a virtual machine) Traceback (most recent call last): File "./check_esx_wbem.py", line 75, in instance_list = wbemclient.EnumerateInstances(classe) File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 404, in EnumerateInstances **params) File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 219, in imethodcall raise CIMError(code, tt[1]['DESCRIPTION']) pywbem.cim_operations.CIMError: (6, u'The requested object could not be found') 9. to remove this error comment out memory (# 'CIM_Memory',)

Reviewed 14 years ago

check_cpu_stats.sh

doesn't work through nrpe

works locally in nagios and through command line but doesn't work through nrpe (gives can't read output) and doesn't graph with pnp4nagios.

Reviewed 14 years ago

check_cpu.sh (matejunkie)

doesn't work on gentoo

./check_cpu_se.sh gives output on redhat but error on command line 118 and several others on gentoo, works through nrpe and draws graphs on pnp4nagios

Reviewed 14 years ago

check_mem.pl

works great

it is a great plugin that produces graphs in nagios even and i used it as follows ./check_mem.pl -u -w 85 -c 90 but i wish the -f flag could be used along side the -u flag so that both free and used memory would be displayed in nagios.

Reviewed 14 years ago

HP Insight Manager Log Checker

terrible

keeps saying warning although i marked all errors as repaired. simply doesn't work

Reviewed 14 years ago

Speed fan

awesome plugin

although only temp variable worked for me (not voltage or speedfan) but atleast it produced an output for temperature. here is some advice so not to repeat my mistakes: in nagios define as: define command{ command_name check_speedfan command_line /usr/bin/perl $USER1$/check_sfan.pl $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ } and service as: define service{ use generic-service host_name myworkstation service_description cpu temperature 2 check_command check_speedfan!temp!10.1.1.29!test!5!"x>40||x45||x} if you are running win 2003 64bit then don't do my mistake and just run injector.exe instead of speedfan.exe so it communicates with the snmp software mentioned by the author (bastart)

Reviewed 14 years ago

check_db_record_count

didn't work

[root@orcl tmp]# ./check_db_record_count.txt ./check_db_record_count.txt[63]: .: ./utils.sh: cannot open [No such file or directory]

Reviewed 14 years ago

check_db

didn't work

first i had much trouble getting the jar command to work but after it did i did everything instructed, not sure about the sql files though. i cpied just one file with the .sql extension. anyway on redhat from command prompt here is the output: [root@orcl libexec]# ./DbCheck.java -H 10.1.1.247 -s orc1 import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. import: unable to open X server `'. ./DbCheck.java: line 12: public: command not found ./DbCheck.java: line 15: syntax error near unexpected token `(' ./DbCheck.java: line 15: ` public DbCheck()'

Reviewed 14 years ago

Cisco - Check NTP on MSFC and Switch

error on cisco switch and router

./check_cisco_ntp.sh -H 10.02.10.2 -V 3 -M asso -u doubly -l AuthPriv -a shubly snmpwalk: USM generic error ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected snmpwalk: USM generic error ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected .1.3.6.1.4.1.9.9.168.1.2.1.1.2.: Unknown Object Identifier (Sub-id not found: enterprises -> ) ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected .1.3.6.1.4.1.9.9.168.1.2.1.1.3.: Unknown Object Identifier (Sub-id not found: enterprises -> ) .1.3.6.1.4.1.9.9.168.1.2.1.1.4.: Unknown Object Identifier (Sub-id not found: enterprises -> ) ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected .1.3.6.1.4.1.9.9.168.1.2.1.1.8.: Unknown Object Identifier (Sub-id not found: enterprises -> ) ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected .1.3.6.1.4.1.9.9.168.1.2.1.1.21.: Unknown Object Identifier (Sub-id not found: enterprises -> ) ./check_cisco_ntp.sh: line 64: [: !=: unary operator expected Unknown - Node status : noWarning | ok=0

Reviewed 7 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks