Nagios XI On-Demand Manual Check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toodaly
Posts: 63
Joined: Wed Jun 19, 2013 3:39 pm

Nagios XI On-Demand Manual Check

Post by toodaly »

Sorry if there is already a thread on this. I searched the XI forum for On-Demand Check (nothing returned) and Manual Check (got a lot of manual installation of XI threads). Here's an example what I'm trying to do. The periodic active check gets CPU utilization for a hardware resource (Linux or Windows). If it's too high the administrator can, through the XI GUI, manually run a plugin to get CPU utlization per process or a plugin to get CPU utilization per user. I can execute the command via CLI, but is there a way to do it through the GUI?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI On-Demand Manual Check

Post by slansing »

You can get up to date information by running the current check manually, simply go to the service's details page and click, "re-schedule check", or within XI in the service's details page, "Schedule Immediate Check."

If you are looking to run a completely different command manually though the web interface, let us know, we may be able to come up with something.
toodaly
Posts: 63
Joined: Wed Jun 19, 2013 3:39 pm

Re: Nagios XI On-Demand Manual Check

Post by toodaly »

Yes, a completely different check than the periodic active check. For example on Linux, periodic CPU utilization check is check_cpu_stats.sh. I'd like to, through XI's GUI, manually run or schedule an immediate check for a plugin called check_cpu_stats_per_user.sh.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI On-Demand Manual Check

Post by slansing »

You would have to build this in as a component, if you want to do this from the web interface. You could also add a new check command in the CCM for this script, and then assign it to a disabled service. To use it, you would need to go into the CCM and use the 'Test Check Command' button, on that service. Another option I can think of is the use of an event handler:

http://assets.nagios.com/downloads/nagi ... ndlers.pdf
Locked