The NSClient++ syntax changes from version to version, so you may need to review the NSClient++ documentation to make sure you are using the correct command.If I run this from the Nagios server command line
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -H 10.2.8.12 -t 30 -c check_service -a CheckAll CHECK_NRPE: Invalid packet type received from server.
All gives same error Invalid Packet type received.
What is the output of the following commands?
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H 10.2.8.12 -t 30 -c CheckServiceState -a CheckAll
/usr/lib/nagios/plugins/check_nrpe -H 10.2.8.12 -t 30 -c CheckServiceState -a Spooler