Nagios Client

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
DOkuwa
Posts: 114
Joined: Tue Aug 15, 2017 3:54 pm

Nagios Client

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Client

Post 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/
Former Nagios employee
https://www.mcapra.com/
DOkuwa
Posts: 114
Joined: Tue Aug 15, 2017 3:54 pm

Re: Nagios Client

Post by DOkuwa »

Thanks
Good information
DOkuwa
Posts: 114
Joined: Tue Aug 15, 2017 3:54 pm

Re: Nagios Client

Post by DOkuwa »

Also can we monitor hosts with ssh
dwasswa

Re: Nagios Client

Post by dwasswa »

Thanks @mcapra.

@DOkuwa, let us know if you have any more questions.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Client

Post 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/
Former Nagios employee
https://www.mcapra.com/
kyang

Re: Nagios Client

Post by kyang »

Thanks @mcapra!

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