SHOW:
|
|
- or go back to the newest paste.
| 1 | define hostgroup {
| |
| 2 | hostgroup_name hg-ping | |
| 3 | - | host_name localhost |
| 3 | + | alias Pingable Devices |
| 4 | } | |
| 5 | ||
| 6 | define service {
| |
| 7 | use local-service | |
| 8 | hostgroup_name hg-ping | |
| 9 | service_description PING | |
| 10 | check_command check_ping!100.0,20%!500.0,60% | |
| 11 | action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=pl,data&db=pl,warn&db=pl,crit&geom=1000x200' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=pl,data&db=pl,warn&db=pl,crit | |
| 12 | notes_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=rta,data&db=rta,warn&db=rta,crit&geom=1000x200' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=rta,data&db=rta,warn&db=rta,crit | |
| 13 | } | |
| 14 | ||
| 15 | define host {
| |
| 16 | use host-generic | |
| 17 | host_name router-a | |
| 18 | hostgroups hg-ping | |
| 19 | alias Router A | |
| 20 | address 10.10.1.1 | |
| 21 | } | |
| 22 | ||
| 23 | define host {
| |
| 24 | use host-generic | |
| 25 | host_name router-b | |
| 26 | hostgroups hg-ping | |
| 27 | alias Router B | |
| 28 | address 10.10.2.1 | |
| 29 | } | |
| 30 | ||
| 31 | define host {
| |
| 32 | use host-generic | |
| 33 | host_name router-c | |
| 34 | hostgroups hg-ping | |
| 35 | alias Router C | |
| 36 | address 10.10.3.1 | |
| 37 | } |