Agent Checks

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 - NRPE

Nagios Plugins are usually executed via NRPE on the remote system.

Command:

./check_nrpe -H 10.25.13.34

Output:

NRPE v3.2.1

NCPA

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++ via check_nt

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++ via check_nrpe

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...

WMI

Check WMI Plus does not include a version check as the WMI component on the Windows machine is part of the operating system.

SNMP

SNMP is part of the operating system and does not have a version check available.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

Posted by: - Tue, Nov 14, 2017 at 12:28 AM. This article has been viewed 3450 times.
Online URL: https://support.nagios.com/kb/article/agent-checks-776.html

Powered by PHPKB (Knowledge Base Software)