sending alerts to a nagios server from a non 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
a31modela
Posts: 18
Joined: Thu Jun 24, 2010 12:40 pm

sending alerts to a nagios server from a non nagios client

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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
Former Nagios employee
Locked