added some snmpget services and some small new features in the config... ;)
This commit is contained in:
parent
8b700e8915
commit
b74970a13c
1 changed files with 27 additions and 4 deletions
|
|
@ -110,13 +110,36 @@
|
||||||
"network":{
|
"network":{
|
||||||
"members":[ "hanez" ],
|
"members":[ "hanez" ],
|
||||||
"hosts":[ "router.systemchaos.org" ],
|
"hosts":[ "router.systemchaos.org" ],
|
||||||
|
"processors":[
|
||||||
|
{
|
||||||
|
"class": "mongodb",
|
||||||
|
"args": { "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default"}
|
||||||
|
}
|
||||||
|
],
|
||||||
"services":[
|
"services":[
|
||||||
{
|
{
|
||||||
"class":"ping",
|
"class": "shell",
|
||||||
"fails":{ "warning":"100ms", "critical":"150ms" },
|
"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"],
|
"periods": ["short"],
|
||||||
"threshold":10,
|
"threshold": 10,
|
||||||
"parser":{ "class":"shell", "line":2, "col":5 }
|
"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