Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
ahmedali
Hi,
I download your plugin to test it, but when I try to use it it give me this error
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_rbl line 35.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_rbl line 35
My Nagios/Plugin.pm located in /usr/local/nagios/perl/lib/Nagios/Plugin.pm
How to configure it to search for the plugin in this path /usr/local/nagios/perl/lib/
I install it using perl Makefile.PL INSTALLSITESCRIPT=/usr/local/nagios/libexec/
Thanks
I download your plugin to test it, but when I try to use it it give me this error
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_rbl line 35.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_rbl line 35
My Nagios/Plugin.pm located in /usr/local/nagios/perl/lib/Nagios/Plugin.pm
How to configure it to search for the plugin in this path /usr/local/nagios/perl/lib/
I install it using perl Makefile.PL INSTALLSITESCRIPT=/usr/local/nagios/libexec/
Thanks
byahmedali, May 8, 2012
Hi,
I download you plugin to test it but it didn't work for me and give me this error
Use of uninitialized value $stat_line in scalar chomp at ./check_mailstat.pl line 187.
Use of uninitialized value $stat_line in split at ./check_mailstat.pl line 188.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value $stat_line in concatenation (.) or string at ./check_mailstat.pl line 221.
OK: sent:0.00 received:0.00 bounced:0.00 rejected:0.00 virus:0.00 spam:0.00 |sent=0.00 received=0.00 bounced=0.00 rejected=0.00 virus=0.00 spam=0.00
Please advise me to solve this issue.
I download you plugin to test it but it didn't work for me and give me this error
Use of uninitialized value $stat_line in scalar chomp at ./check_mailstat.pl line 187.
Use of uninitialized value $stat_line in split at ./check_mailstat.pl line 188.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value in subtraction (-) at ./check_mailstat.pl line 210.
Use of uninitialized value $stat_line in concatenation (.) or string at ./check_mailstat.pl line 221.
OK: sent:0.00 received:0.00 bounced:0.00 rejected:0.00 virus:0.00 spam:0.00 |sent=0.00 received=0.00 bounced=0.00 rejected=0.00 virus=0.00 spam=0.00
Please advise me to solve this issue.
I get this error when I run the check using nrpe Mailqueue WARNING - query returned no output!
This is what I run
check_nrpe -H $HOSTADDRESS$ -c check_eximailqueue -a '-w 7000 -c 10000'
This is what I run
check_nrpe -H $HOSTADDRESS$ -c check_eximailqueue -a '-w 7000 -c 10000'
Hello,
Thank you for this great plugin but, when I use it with RHEL6 systems, it give me errors
UNKNOWN: Security plugin for yum is required. Try to 'yum install yum-security' and then re-run this plugin. Alternatively, to just alert on any update which does not require the security plugin, try --all-updates even with installing the required package.
and in some other RHEL6 systems it give me
YUM WARNING: Cannot find summary line in yum output. Please make sure you have upgraded to the latest version of this plugin. If the problem persists, please contact the author for a fix
Thanks
Thank you for this great plugin but, when I use it with RHEL6 systems, it give me errors
UNKNOWN: Security plugin for yum is required. Try to 'yum install yum-security' and then re-run this plugin. Alternatively, to just alert on any update which does not require the security plugin, try --all-updates even with installing the required package.
and in some other RHEL6 systems it give me
YUM WARNING: Cannot find summary line in yum output. Please make sure you have upgraded to the latest version of this plugin. If the problem persists, please contact the author for a fix
Thanks
Owner's reply
Should be fixed in recent versions.
byahmedali, November 12, 2011
I'm asking about the installation instructions, I don't want to install all the plugins but some of the collection
Thanks in advance
Thanks in advance
Owner's reply
Just run ./configure and make and install the plugins yourself with cp.
ex: cp snmp/check_apc_pdu /usr/lib/nagios/plugins/
byahmedali, July 10, 2011
hello,
I setup the plugin and it's needed software as following and it give me some error messages
I install freeipmi v 1.0.5 on the remote server then download the plugin v 2.2, move it to /usr/local/nagios/libexec/
#chown nagios:nagios /usr/local/nagios/libexec/check_ipmi_sensor
then test the tool
#ipmi-sensors -h localhost -u monitoring -p relation -l user
and it work then test the plugin from the server it self and it work # /usr/local/nagios/libexec/check_ipmi_sensor -H localhost -U monitoring -P relation -L user
then I install the freeipmi in a local machine to test the remote machine
ipmi-sensors -h remote-host-ip -u monitoring -p relation -l user
it give me ipmi-sensors: connection timeout
then when I try to test it from nagios using # /usr/local/nagios/libexec/check_nrpe -H remote-ip -c check_ipmi_sensor -a '-H localhost -U monitoring -P relation -L user'
it give me this error
/usr/local/sbin/ipmi-sensors: permission denied
-> Execution of ipmimonitoring failed with return code 1.
-> ipmimonitoring was executed with the following parameters:
/usr/local/sbin/ipmimonitoring -h 127.0.0.1 -u monitoring -p relation -l user --quiet-cache --sdr-cache-recreate
or this
sudo: sorry, you must have a tty to run sudo
-> Execution of ipmimonitoring failed with return code 1.
-> ipmimonitoring was executed with the following parameters:
sudo /usr/local/sbin/ipmimonitoring --quiet-cache --sdr-cache-recreate
thanks and best regards
I setup the plugin and it's needed software as following and it give me some error messages
I install freeipmi v 1.0.5 on the remote server then download the plugin v 2.2, move it to /usr/local/nagios/libexec/
#chown nagios:nagios /usr/local/nagios/libexec/check_ipmi_sensor
then test the tool
#ipmi-sensors -h localhost -u monitoring -p relation -l user
and it work then test the plugin from the server it self and it work # /usr/local/nagios/libexec/check_ipmi_sensor -H localhost -U monitoring -P relation -L user
then I install the freeipmi in a local machine to test the remote machine
ipmi-sensors -h remote-host-ip -u monitoring -p relation -l user
it give me ipmi-sensors: connection timeout
then when I try to test it from nagios using # /usr/local/nagios/libexec/check_nrpe -H remote-ip -c check_ipmi_sensor -a '-H localhost -U monitoring -P relation -L user'
it give me this error
/usr/local/sbin/ipmi-sensors: permission denied
-> Execution of ipmimonitoring failed with return code 1.
-> ipmimonitoring was executed with the following parameters:
/usr/local/sbin/ipmimonitoring -h 127.0.0.1 -u monitoring -p relation -l user --quiet-cache --sdr-cache-recreate
or this
sudo: sorry, you must have a tty to run sudo
-> Execution of ipmimonitoring failed with return code 1.
-> ipmimonitoring was executed with the following parameters:
sudo /usr/local/sbin/ipmimonitoring --quiet-cache --sdr-cache-recreate
thanks and best regards