I have a few linux machines that I have nagios monitoring.
I dont remember the process for setting up a client on the linux machines, and now I have more I need to add.
The only documentation I saw for linux machinces is using nrpe. I dont remember it being so many steps.
Is there another way to monitor a linux host other than NRPE?
Monitor Linux
Monitor Linux
Everybody is somebody else’s weirdo
Re: Monitor Linux
Yes. One of the easiest ways it to put the modules on the remote Linux box and then use check_by_ssh to check them from the Nagios host. This requires SSH keys with no passphrase, but can be set up in a few seconds, rather than the hour or so it might take to set up NRPE.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Monitor Linux
Another method of monitoring without an NRPE agent would be snmp. That process is documented here:
http://assets.nagios.com/downloads/nagi ... g_SNMP.pdf
http://assets.nagios.com/downloads/nagi ... g_SNMP.pdf
Re: Monitor Linux
I would argue that monitoring via SNMP is more complex than monitoring via NRPE. 
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Monitor Linux
Eloyd
When you say
When you say
What modules do you mean?One of the easiest ways it to put the modules on the remote Linux box and then use check_by_ssh to check them from the Nagios host.
Everybody is somebody else’s weirdo
Re: Monitor Linux
You have to compile the Nagios plugins on the remote linux host (or compile them on a Linux host that has the same OS version and copy them). Things like check_cpu, check_disk, check_whatever. Those are the modules (or plugins). You can then call them via check_by_ssh on the Nagios host.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Monitor Linux
Part of the install instructions I wrote for myself includes:
wget https://www.nagios-plugins.org/download ... 2.0.tar.gz
are those the plugins you mentioned?
wget https://www.nagios-plugins.org/download ... 2.0.tar.gz
are those the plugins you mentioned?
Everybody is somebody else’s weirdo
Re: Monitor Linux
Yes!
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitor Linux
Let us know how you get along with this, we're more than happy to answer any questions you have.
Re: Monitor Linux
All seems to be working well.
You can close this item
You can close this item
Everybody is somebody else’s weirdo