Page 1 of 1

sending alerts to a nagios server from a non nagios client

Posted: Sat Mar 24, 2018 3:57 pm
by a31modela
we have a large number of linux clients that the powers that be do not want to install nagios on but they still want to have alerts from these boxes for space filling up go to nagios core.

Is it even possible to have a script running on a linux box check for space issues and then if it goes over a threshold email nagios and open an alert?

thanks,
steve

Re: sending alerts to a nagios server from a non nagios clie

Posted: Mon Mar 26, 2018 9:51 am
by tmcdonald
[quote="a31modela"Is it even possible to have a script running on a linux box check for space issues and then if it goes over a threshold email nagios and open an alert?[/quote]
That's exactly how Nagios works. You don't actually install Nagios on the things you want to monitor. Instead you install a lightweight agent - exactly which one depends on your environment and how you want to monitor.

If you want just a simple bash script running via cron from the remote server, sending results back to Nagios, then you will want to look into passive checks:

https://assets.nagios.com/downloads/nag ... hecks.html