Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Windows Process (WMI)
1.2
2014-12-18
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
GPL
18725
File | Description |
---|---|
check_windows_process | Check GitHub for the latest version |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The script requires wmic which is included in check_wmi_plus or can be installed separately.
Check the GitHub link for the latest versions.
::Windows Process Check Instructions::
-h|help, Display this help information
-H|host, IP or hostname of server
-U|username Username to use for authentication
-P|password Paswword to use for authentication
-C|Check, Specify a check type: ICPU(%), ACPU(%), Memory(KB), IO, threads, stats
ICPU does two queries a few seconds apart. (default 5)
ACPU provides average CPU usage since last check.
IO is performance data only .
-S|sampletime Set the time interval for the ICPU check.
stats will only alert if the process is not running and report everything
-iostats, Add disk IO information to any check
-memorystats, Adds memory stats to any check
-threads, Adds threads stats to any check
***This options are for the ICPU and ACPU checks only***
-multicpu, Use CPU values like that of top and ps rather than true percantages
With this option the max cpu usage is 100% * number of logical cores
Without this option max cpu usage is 100%
-w|warning, Specify a warning level for the check
-c|critical, Specify a critical level for the check
For memory checks thresholds are declared in Bytes
Thresholds must be defined fore every check except stats
-M|message, Specify a message to return on failure
-R|startup, The script to use to restart the process
If selected this will be added the the output on CRITICAL
This is an easy way to pass information to an Event Handler
***Highly reccomended that you use this***
-N|name, Specify a differnet name for the process
This is for display in Nagios messages
Example: check_windows_process -p mssql -N MasterDB
The mysqld process will be monitored and the Nagios message will read:
The MasterDB process is currently OK.
-p|processname, Specify a process name to be monitored
Script written by Noah Guttman and Copyright (C) 2014 Noah Guttman.
This script is released and distributed under the terms of the GNU
General Public License. >>>> http://www.gnu.org/licenses/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
>>>> http://www.gnu.org/licenses/
-h|help, Display this help information
-H|host, IP or hostname of server
-U|username Username to use for authentication
-P|password Paswword to use for authentication
-C|Check, Specify a check type: ICPU(%), ACPU(%), Memory(KB), IO, threads, stats
ICPU does two queries a few seconds apart. (default 5)
ACPU provides average CPU usage since last check.
IO is performance data only .
-S|sampletime Set the time interval for the ICPU check.
stats will only alert if the process is not running and report everything
-iostats, Add disk IO information to any check
-memorystats, Adds memory stats to any check
-threads, Adds threads stats to any check
***This options are for the ICPU and ACPU checks only***
-multicpu, Use CPU values like that of top and ps rather than true percantages
With this option the max cpu usage is 100% * number of logical cores
Without this option max cpu usage is 100%
-w|warning, Specify a warning level for the check
-c|critical, Specify a critical level for the check
For memory checks thresholds are declared in Bytes
Thresholds must be defined fore every check except stats
-M|message, Specify a message to return on failure
-R|startup, The script to use to restart the process
If selected this will be added the the output on CRITICAL
This is an easy way to pass information to an Event Handler
***Highly reccomended that you use this***
-N|name, Specify a differnet name for the process
This is for display in Nagios messages
Example: check_windows_process -p mssql -N MasterDB
The mysqld process will be monitored and the Nagios message will read:
The MasterDB process is currently OK.
-p|processname, Specify a process name to be monitored
Script written by Noah Guttman and Copyright (C) 2014 Noah Guttman.
This script is released and distributed under the terms of the GNU
General Public License. >>>> http://www.gnu.org/licenses/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
>>>> http://www.gnu.org/licenses/
Reviews (0)
Be the first to review this listing!