added some snmpget services and some small new features in the config... ;)

This commit is contained in:
Johannes Findeisen 2013-06-10 03:35:57 +02:00
commit b74970a13c

View file

@ -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 }
"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
}
]
}