Agent Checks
Agent checks are commonly used to confirm that the agent is running and also to determine the version of the agent.
Nagios Plugins are usually executed via NRPE on the remote system.
Command:
./check_nrpe -H 10.25.13.34
Output:
NRPE v3.2.1
NPCA includes a system module that allows you to check the agent version.
Command:
./check_ncpa.py -H 10.25.14.91 -t Str0ngT0k3n -M system/agent_version
Output:
OK: Agent_version was ['2.0.5']
NSClient++ includes a service module that can check if a service is running.
Command:
./check_nt -H 10.25.14.10 -p 12489 -s 'Str0ngP@ssw0rd' -v CLIENTVERSION
Output:
NSClient++ 0.4.4.23 2016-04-05
NSClient++ includes a service module that can check if a service is running.
Command:
./check_nrpe -H 10.25.14.10
Output:
I (0.4.4.23 2016-04-05) seem to be doing fine...
Check WMI Plus does not include a version check as the WMI component on the Windows machine is part of the operating system.
SNMP is part of the operating system and does not have a version check available.
For any support related questions please visit the Nagios Support Forums at:
http://support.nagios.com/forum/
Article ID: 776
Created On: Tue, Nov 14, 2017 at 12:28 AM
Last Updated On: Tue, Nov 14, 2017 at 12:28 AM
Authored by: tlea
Online URL: https://support.nagios.com/kb/article/agent-checks-776.html