On 10/19/05, Jeff Stuart <jeff at myismail.com> wrote:
I have a machine that I wish to appear on multiple pages. So I list it more than once in bb-hosts.
First time, I list it this way:
group-only bbd|bbgen|bbtest|hobbitd|rsync Hobbit Monitoring Server 123.123.123.123 <http://123.123.123.123> 123.123.123.123<http://123.123.123.123># BBPAGER BBNET BBDISPLAY bbd noconn rsync
Then I list it this way:
page game-servers Main Game Server Boxes. group-except bbd|bbgen|bbtest|hobbitd|rsync 123.123.123.123 <http://123.123.123.123> 123.123.123.123<http://123.123.123.123># ftp !telnet !smtp ssh ntp prefer badconn:1:2:4
Error output: Host 123.123.123.123 <http://123.123.123.123> appears twice in bb-hosts! This may cause strange results
On the 4.1.2 (snapshot just before release canidate) setup I have here, several of my systems are on multiple pages. The only difference that I can see between the config lines shown above and the configs that I am running, is that the "prefer" keyword is before any other tests..
-- --==[ Bob Gordon ]==--