Active checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Active checks

Post by peter19x »

Forgive me if I sound silly , but I am pretty new to nagiosxi and I am trying to dig into the right documents to start with.

I want to tell my nagios server to get to that X machine and ask her to execute a certain script, then take the output of the script and generate an alarm, graph for that output.

For example I want the nagios to go to a Linux machine, ask it to execute a script that list all customers and number of current calls on that Linux box, take the customer name and number of calls associated with it and sends it back to nagios.

Is it something that can be done with active checks? (and not passive)

Many Thanks,
Peter
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Active checks

Post by jolson »

This can be done with active checks. If you have a way of getting data off of a remote server (with a script or otherwise) then Nagios XI is capable of seeing and graphing that data.

A good place to start would be reading through the developer guidelines - the guidelines describe designing plugins:
https://nagios-plugins.org/doc/guidelines.html

The next thing you'll need to know is how to get your custom plugin working with Nagios - it's very likely that you'll be using NRPE to check on your remote Linux boxes. Let me know if you have any questions!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked