Page 1 of 1

Nagios Client

Posted: Wed Sep 27, 2017 4:17 pm
by DOkuwa
I am installing Nagios Core on a server and want to monitor unix servers
Do i always need to install the NRPE on the unix servers as a client as there are quite many or i configure the unix servers with snmp on the /etc/snmp/snmpd.conf with a community string I mean for the client side which is the unix servers.
Please suggest

Re: Nagios Client

Posted: Thu Sep 28, 2017 8:22 am
by mcapra
check_snmp is included as part of nagios-plugins:
https://nagios-plugins.org/doc/man/check_snmp.html

You could certainly use it to reach out to a net-snmp agent in place of NCPA/NRPE/NSClient++.

Here's a decent walkthrough for setting up the service/commands as well as some explanation of the OIDs available:
https://www.unixmen.com/monitor-linux-s ... sing-snmp/

Re: Nagios Client

Posted: Thu Sep 28, 2017 8:41 am
by DOkuwa
Thanks
Good information

Re: Nagios Client

Posted: Thu Sep 28, 2017 8:49 am
by DOkuwa
Also can we monitor hosts with ssh

Re: Nagios Client

Posted: Thu Sep 28, 2017 11:53 am
by dwasswa
Thanks @mcapra.

@DOkuwa, let us know if you have any more questions.

Re: Nagios Client

Posted: Thu Sep 28, 2017 12:10 pm
by mcapra
DOkuwa wrote:Also can we monitor hosts with ssh
Yup, with check_by_ssh also included in nagios-plugins:
https://nagios-plugins.org/doc/man/check_by_ssh.html

Another pretty OK guide using SSH keys:
http://www.techrepublic.com/blog/linux- ... sh-plugin/

Re: Nagios Client

Posted: Thu Sep 28, 2017 3:27 pm
by kyang
Thanks @mcapra!

@DOkuwa, let us know if you have any more questions.