added some snmpget services and some small new features in the config... ;)
This commit is contained in:
parent
dcbfc450c5
commit
348676242c
1 changed files with 27 additions and 4 deletions
|
|
@ -110,13 +110,36 @@
|
|||
"network":{
|
||||
"members":[ "hanez" ],
|
||||
"hosts":[ "router.systemchaos.org" ],
|
||||
"processors":[
|
||||
{
|
||||
"class": "mongodb",
|
||||
"args": { "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default"}
|
||||
}
|
||||
],
|
||||
"services":[
|
||||
{
|
||||
"class":"ping",
|
||||
"fails":{ "warning":"100ms", "critical":"150ms" },
|
||||
"class": "shell",
|
||||
"comment": "ping using the shell service and no builtin",
|
||||
"args": { "command": "ping -c4 @host" },
|
||||
"fails":{ "warning": "100ms", "critical":"150ms", "notes": "HeyHo! A ping failed, wake up! (@response)" },
|
||||
"periods": ["short"],
|
||||
"threshold": 10,
|
||||
"parser":{ "class": "shell", "line": 2, "col": 5 }
|
||||
},
|
||||
{
|
||||
"class":"snmpget",
|
||||
"comment": "The system load",
|
||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.4.1.2021.10.1.3.1" },
|
||||
"fails":{ "warning":"4.00", "critical":"8.00" },
|
||||
"periods": ["middle"],
|
||||
"threshold": 10
|
||||
},
|
||||
{
|
||||
"class":"snmpget",
|
||||
"comment": "The system uptime",
|
||||
"args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.2.1.1.3.0" },
|
||||
"periods": ["middle"],
|
||||
"threshold": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue