Interacting with nagios cli.

1.0K    Asked by AbdulRehman in Devops , Asked on Dec 30, 2019
Answered by Abdul Rehman

The services check enabled in Nagios GUI can be checked via nagios command line also, these commands need to be executed on Nagios server.

The plugins enabled/installed on the server can also be directly executed to check the results.

All, plugins are installed by default at - /usr/local/nagios/libexec/

The same can be executed via command line from nagios server to check the plugin output.

Let’s say for ICMP plugin check below command can be executed -

# /usr/local/nagios/libexec/check_icmp -H -w -c -p

after the execution the respective output will be the result.

Your Answer


Parent Categories