object grouping
John Hutchinson
john at gaslightmedia.com
Fri May 27 10:56:10 EDT 2011
Is there any way that i can have a group of objects that when any one of
them goes down i get a message but if a bunch of them go down i still
only get one page.
Current setup is
Group "group1" {
frequency: 60min
sendnotify: yes
retrydelay: 5min
messagedn: one or more website(s) on group1 is down
messageup: all websites are working on group1 again
Host "site1" {
Service TCP/URL {
url: http://site1/test
browser: Mozilla/5.0 (compatible; just testing)
expect: site active
sendnotify: no
}
}
Host "site2 {
Service TCP/URL {
url: http://site2/test
browser: Mozilla/5.0 (compatible; just testing)
expect: site active
sendnotify: no
}
}
Host "site3" {
Service TCP/URL {
url: http://site3/test
browser: Mozilla/5.0 (compatible; just testing)
expect: site active
sendnotify: no
}
}
}
If site1 goes down I get the message that one or more sites are down. If
all the sites go down I get three messages that one or more sites went down.
I need it to only send our one message for the group no matter how many
sites go down. Then we will go to the webpage to se what actually happened.
John
More information about the Arguslist
mailing list