Monitor sshd service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Monitor sshd service

Post by nagiostool »

Hi,

For monitoring a service using Nagios XI, there should be any plugin installed on the client side ?

Since while trying to monitor ssh service using the inbuilt wizard i get the following error.

COMMAND: /usr/local/nagios/libexec/check_nrpe -H 192.168.2.30 -t 600 -c check_init_service
OUTPUT: NRPE: Command 'check_init_service' not defined

Any idea ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitor sshd service

Post by tmcdonald »

The only time you need an agent installed is if you are monitoring some sort of metric that is only available from within the remote machine, such as CPU load or to see if a program is running. In this case, it looks like NRPE (Nagios Remote Plugin Executor) is trying to run the check, and you do need an agent for that.

Which wizard did you run? If you just want to see if SSH is running you can test the port instead of trying to see if the service is running internally.
Former Nagios employee
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Monitor sshd service

Post by nagiostool »

Thank Q it did not strike my mind.

I have done and it meets my requirement.

Thanks a lot :D
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitor sshd service

Post by tmcdonald »

Awesome. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked