I have nagios installed on CentOS6 and nrpe and plugins on CentOS5
everything looks good and I get info from other plugins, exept check_proliant.py
I added nagios ALL=(ALL) NOPASSWD:/sbin/hpasmcli to sudoers and ! tty required line also
I'm not able to get respond from this plugin
nagios.log file says
when I try to make $ sudo ./check_proliant.py --type=fan on client machine with nrpe and check_proliant installed I got this output[1384533721] SERVICE NOTIFICATION: nagiosadmin;callme-lekki-billing2;Temperature;CRITICAL;notify-service-by-email;CHECK_NRPE: Socket timeout after 10 seconds.
Before i deployed everything to real world I tested this in lab using Ubuntu as nagios and CentOS6 as NRPE, and everything was goodCRITICAL: Fan #1 Status=No. Fan #1 Speed=-. Fan #1 Redundant=N/A. Fan #2 Status=No. Fan #2 Speed=-. Fan #2 Redundant=N/A.
May be I forget something to change in privileges or nagios user permissions? Shall I change nagios user shell for /bin/bash/ on my server?
As I said works everything but this plugin
thank you