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
sending alerts to a nagios server from a non nagios client
Re: sending alerts to a nagios server from a non nagios clie
[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
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
Former Nagios employee