Search found 98 matches

by majed
Tue Dec 19, 2017 1:41 am
Forum: Open Source Nagios Projects
Topic: Error restarting nagios after pnp update
Replies: 11
Views: 6064

Re: Error restarting nagios after pnp update

You thought correctly.
i changed pidfile="/run/nagios.lock" in init.d to

Code: Select all

pidfile="/var/nagios/nagios.lock"
and error was gone after a reboot. After booting the lock file was created by user root, is that the normal behavior?
by majed
Mon Dec 18, 2017 3:45 am
Forum: Open Source Nagios Projects
Topic: check_tacacs_plus.pl not working
Replies: 7
Views: 6310

Re: check_tacacs_plus.pl not working

Well, i'd welcome any kind of checks for tacacs but i didn't find other than the mentioned.
by majed
Mon Dec 18, 2017 3:43 am
Forum: Open Source Nagios Projects
Topic: Error restarting nagios after pnp update
Replies: 11
Views: 6064

Re: Error restarting nagios after pnp update

~ # /etc/init.d/nagios restart * Verifying config files ... [ ok ] * Stopping nagios ... * Failed to stop nagios [ !! ] * ERROR: nagios failed to stop tail -f /var/nagios/nagios.log [1513586156] wproc: host=hidden; service=(null); [1513586156] wproc: early_timeout=1; exited_ok=0; wait_status=0; err...
by majed
Fri Dec 15, 2017 2:39 am
Forum: Open Source Nagios Projects
Topic: check_tacacs_plus.pl not working
Replies: 7
Views: 6310

Re: check_tacacs_plus.pl not working

thank you for the new information, i added the nagios ip to the tacacs server and the plugin immediately worked. In nagios, it nagged about utils.pm not present, duckducked the error and it turns out the lib path must point to the utils.pm folder which must be in the plugin directory. so i had to ed...
by majed
Fri Dec 15, 2017 1:54 am
Forum: Open Source Nagios Projects
Topic: Error restarting nagios after pnp update
Replies: 11
Views: 6064

Re: Error restarting nagios after pnp update

the preflight check produced no serious errors. There were duplicate definitions, I removed them but, as expected, that didn't help.
by majed
Thu Dec 14, 2017 7:40 am
Forum: Open Source Nagios Projects
Topic: Error restarting nagios after pnp update
Replies: 11
Views: 6064

Re: Error restarting nagios after pnp update

when restarting nagios the log produces:

Code: Select all

Dec 14 15:35:26 nagios /etc/init.d/nagios[3628]: ERROR: nagios failed to stop
i can't know what pnp version i was using.
i tried uninstalling pnp but that didn't help!
Anything else needed?
by majed
Thu Dec 14, 2017 7:19 am
Forum: Open Source Nagios Projects
Topic: check_tacacs_plus.pl not working
Replies: 7
Views: 6310

Re: check_tacacs_plus.pl not working

Thanks for replying, timeout is not the problem, the result appears instantly, and -v produces nothing more.

Code: Select all

https://forums.gentoo.org/viewtopic-p-8155724.html#8155724
says that gentoo automagically detects the perl libraries.
by majed
Wed Dec 13, 2017 3:06 am
Forum: Open Source Nagios Projects
Topic: check_tacacs_plus.pl not working
Replies: 7
Views: 6310

check_tacacs_plus.pl not working

Peace, according to https://exchange.nagios.org/directory/Plugins/Network-Protocols/TACACS%20/check_tacacs_plus/details a user says he had to modify the script to include use lib "$perl_library" perhaps you know how to do that? /usr/lib64/nagios/plugins $ ./check_tacacs_plus.pl -H tacacs_s...
by majed
Wed Dec 06, 2017 1:16 am
Forum: Open Source Nagios Projects
Topic: check_esxi_hardware.py just doesn't want to work
Replies: 4
Views: 4279

Re: check_esxi_hardware.py just doesn't want to work

that didn't resolve the problem as expected. ./check_esxi_hardware.py -H 10.1.3.3 -U file:/home/nagios/.esxipass -P file:/home/nagios/.esxipass -V ibm -v 20171206 09:10:47 Connection to https://10.1.3.3 20171206 09:10:47 Found pywbem version 0.11.0 20171206 09:10:47 Check classe OMC_SMASHFirmwareIde...