Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define hostgroup {
- hostgroup_name hg-ping
- alias Pingable Devices
- }
- define service {
- use local-service
- hostgroup_name hg-ping
- service_description PING
- check_command check_ping!100.0,20%!500.0,60%
- 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
- 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
- }
- define host {
- use host-generic
- host_name router-a
- hostgroups hg-ping
- alias Router A
- address 10.10.1.1
- }
- define host {
- use host-generic
- host_name router-b
- hostgroups hg-ping
- alias Router B
- address 10.10.2.1
- }
- define host {
- use host-generic
- host_name router-c
- hostgroups hg-ping
- alias Router C
- address 10.10.3.1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement