Nagios XI On-Demand Manual Check
Nagios XI On-Demand Manual Check
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
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.
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.
Re: Nagios XI On-Demand Manual Check
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
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
http://assets.nagios.com/downloads/nagi ... ndlers.pdf