AIx 7 nrpe startup from inittab
Posted: Mon Jul 29, 2019 6:13 pm
Running into an issue where nrpe starts up as root user in Aix 7.1 and nagios fails to check properly and starts up as root and not nagios
root 4325726 1 0 15:55:53 - 0:00 /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d
[nagios@vnagp01 libexec]$ ./check_nrpe -H aixpowerha01
CHECK_NRPE: Error - Could not complete SSL handshake.
[nagios@vnagp01 libexec]$ ./check_nrpe -n -H aixpowerha01
NRPE v3.0.1
If I kill and restart using the nagios user ssl works fine.
Any suggestions ? Or please let me know the proper way of having nrpe startup on reboot.
Thanks
root 4325726 1 0 15:55:53 - 0:00 /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d
[nagios@vnagp01 libexec]$ ./check_nrpe -H aixpowerha01
CHECK_NRPE: Error - Could not complete SSL handshake.
[nagios@vnagp01 libexec]$ ./check_nrpe -n -H aixpowerha01
NRPE v3.0.1
If I kill and restart using the nagios user ssl works fine.
Any suggestions ? Or please let me know the proper way of having nrpe startup on reboot.
Thanks