Nagios Plugin Return Codes
- References:
Sometimes you want to write a simple script to check a few things and have this script work with Nagios. Well, one of the 1st things you need to understand are the return codes. Below are the basic return codes your script should return.
Read the following if you really want to start writing your own plugins. Let me know know too and I will even test them. Ref: http://nagiosplug.sourceforge.net/developer-guidelines.html
|
Numeric |
Services |
Status Description |
| 0 | OK | Plugin executed and results are within parameters |
| 1 | WARNING | Plugin executed and results are in warning range, or are not functioning properly |
| 2 | CRITICAL | Plugin detected the service is not running, or the service is in the critical threshold |
| 3 | UNKNOWN | Typically invalid check parameters, missing values, missing plugin components, etc. |
- Printer-friendly version
- Login to post comments
-

Recent comments
23 weeks 5 days ago
27 weeks 6 days ago
45 weeks 2 days ago
48 weeks 3 days ago
1 year 6 weeks ago
1 year 13 weeks ago
1 year 13 weeks ago
1 year 18 weeks ago
1 year 22 weeks ago