Skip to content

Commit f7c4f60

Browse files
author
Carl Chang
committed
minor changes to config_default;
update readme;
1 parent 76875b5 commit f7c4f60

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ As one of my earliest Python projects, feel free to fork and make your own impro
5050
### Sample Output
5151
![sample](https://i.imgur.com/QowbHdr.png)
5252

53-
To be used as a nagios plugin, do not specify the `-f` option so that the output is not embedded with the ANSI color codes. If the renderer does not support parsing the color codes, it will pollute the output.
53+
Some explanation:
54+
- The value in the parentheses (E.g. `OK (ok)`) is the raw value returned from snmpwalk command.
55+
- The value following the category description is the combined status of each child item.
5456

55-
The value in the parentheses (E.g. `OK (ok)`) is the raw value returned from snmpwalk command.
57+
To be used as a nagios plugin, do not specify the `-f` option so that the output is not embedded with the ANSI color codes. If the renderer does not support parsing the color codes, it will pollute the output.
5658

5759
### Return Value
5860
Integer value that is inline with the Nagios exit codes.

config_default.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@
106106
"description": "Processor Status",
107107
"oids": [
108108
{ "oid": "cpqSeCpuName", "type": "text" },
109+
{ "oid": "cpqSeCpuCore", "type": "text", "suffix": " Cores" },
110+
{ "oid": "cpqSeCpuSpeed", "type": "text", "suffix": " MHz" },
109111
{ "oid": "cpqSeCpuStatus", "type": "status" }
110112
]
111113
},

0 commit comments

Comments
 (0)