red is good
list Kenneth Falor
greetings, in my company we have firewalls with cellular failover/backup cards built in them. I need to be alerted when we fail over to these cards. I am currently pinging the T1 WAN interface and get alerts when it goes down, but I need to get an acknowledgement that the cell card did in fact fail over and the VPN was re-established. we also want to use this alerting to see if the cards are randomly dialing out. If I ping the cell cards static IP it is down (red) when it is not dialed, so I need alert on green status. I also do not want my main status pages to be red all the time. is there a way to say "red is good, but green is bad"? Other monitoring tools allow for contingencies like 'if the WAN IP is down, then try pinging the WWAN IP, but do not ping WWAN IP until then." can hobbit do this? Kenneth Falor | Network Administrator | First Choice Emergency Room
list Josh Luthman
Maybe the dialup tag will help you. This example is white most of the time, but will turn green should the IP become responsive. 172.16.10.49 otherconnection.isp.com # testip dialup Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle
▸
On Mon, Nov 2, 2009 at 12:02 PM, Kenneth Falor <user-b203be41ccd1@xymon.invalid>wrote:
greetings, in my company we have firewalls with cellular failover/backup cards built in them. I need to be alerted when we fail over to these cards. I am currently pinging the T1 WAN interface and get alerts when it goes down, but I need to get an acknowledgement that the cell card did in fact fail over and the VPN was re-established. we also want to use this alerting to see if the cards are randomly dialing out. If I ping the cell cards static IP it is down (red) when it is not dialed, so I need alert on green status. I also do not want my main status pages to be red all the time. is there a way to say "red is good, but green is bad"? Other monitoring tools allow for contingencies like 'if the WAN IP is down, then try pinging the WWAN IP, but do not ping WWAN IP until then." can hobbit do this? Kenneth Falor | Network Administrator | First Choice Emergency Room
list Patrick Nixon
check out !conn
▸
On Mon, Nov 2, 2009 at 12:02 PM, Kenneth Falor <user-b203be41ccd1@xymon.invalid> wrote:greetings, in my company we have firewalls with cellular failover/backup cards built in them. I need to be alerted when we fail over to these cards. I am currently pinging the T1 WAN interface and get alerts when it goes down, but I need to get an acknowledgement that the cell card did in fact fail over and the VPN was re-established. we also want to use this alerting to see if the cards are randomly dialing out. If I ping the cell cards static IP it is down (red) when it is not dialed, so I need alert on green status. I also do not want my main status pages to be red all the time. is there a way to say "red is good, but green is bad"? Other monitoring tools allow for contingencies like 'if the WAN IP is down, then try pinging the WWAN IP, but do not ping WWAN IP until then." can hobbit do this? Kenneth Falor | Network Administrator | First Choice Emergency Room
list Ryan Novosielski
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
▸
Kenneth Falor wrote:greetings, in my company we have firewalls with cellular failover/backup cards built in them. I need to be alerted when we fail over to these cards. I am currently pinging the T1 WAN interface and get alerts when it goes down, but I need to get an acknowledgement that the cell card did in fact fail over and the VPN was re-established. we also want to use this alerting to see if the cards are randomly dialing out. If I ping the cell cards static IP it is down (red) when it is not dialed, so I need alert on green status. I also do not want my main status pages to be red all the time. is there a way to say "red is good, but green is bad"? Other monitoring tools allow for contingencies like 'if the WAN IP is down, then try pinging the WWAN IP, but do not ping WWAN IP until then." can hobbit do this?
I can say I'm fairly sure it is possible, I just do not know how off the top of my head. In Big Brother, this would be done by specifying a test like !conn or something like that, as in "look for no connection." I'd expect a quick look at the docs would turn that up for Xymon as well. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrvEqIACgkQmb+gadEcsb5p3QCeOB4O/3A5CfmTdSFXkxWyshGY bikAoMMZpblLCPf9EI6J2Ik2FaZczwa9 =BMQM -----END PGP SIGNATURE-----
list Bruce White
You could write a custom script which checks the status of the "conn"
test for the interface which is usually down and set a red condition
when you see it go to green. The dial-up option would cause this test
to be white until it see a connection and goes green. You can do this
by issuing:
bb query <hostname.test>
--or-
bb query standby.conn
to get the current status. Then you can change green into red in your
script.
......Bruce
Bruce White
Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
▸
From: Kenneth Falor [mailto:user-b203be41ccd1@xymon.invalid]
Sent: Monday, November 02, 2009 11:02 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] red is good
greetings, in my company we have firewalls with cellular failover/backup
cards built in them. I need to be alerted when we fail over to these
cards. I am currently pinging the T1 WAN interface and get alerts when
it goes down, but I need to get an acknowledgement that the cell card
did in fact fail over and the VPN was re-established. we also want to
use this alerting to see if the cards are randomly dialing out.
If I ping the cell cards static IP it is down (red) when it is not
dialed, so I need alert on green status. I also do not want my main
status pages to be red all the time. is there a way to say "red is
good, but green is bad"?
Other monitoring tools allow for contingencies like 'if the WAN IP is
down, then try pinging the WWAN IP, but do not ping WWAN IP until then."
can hobbit do this?
Kenneth Falor | Network Administrator | First Choice Emergency Room
list Kenneth Falor
This appears to be a great way to go. thanks. Kenneth Falor | Network Administrator | First Choice Emergency Room C: XXX XXX XXXX | F: XXX.XXX.XXXX | user-b203be41ccd1@xymon.invalid<mailto:user-b203be41ccd1@xymon.invalid>
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Monday, November 02, 2009 11:07 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] red is good
Maybe the dialup tag will help you. This example is white most of the time, but will turn green should the IP become responsive.
172.16.10.49 otherconnection.isp.com<http://otherconnection.isp.com>; # testip dialup
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
"When you have eliminated the impossible, that which remains, however improbable, must be the truth."
--- Sir Arthur Conan Doyle
On Mon, Nov 2, 2009 at 12:02 PM, Kenneth Falor <user-b203be41ccd1@xymon.invalid<mailto:user-b203be41ccd1@xymon.invalid>> wrote:
greetings, in my company we have firewalls with cellular failover/backup cards built in them. I need to be alerted when we fail over to these cards. I am currently pinging the T1 WAN interface and get alerts when it goes down, but I need to get an acknowledgement that the cell card did in fact fail over and the VPN was re-established. we also want to use this alerting to see if the cards are randomly dialing out.
If I ping the cell cards static IP it is down (red) when it is not dialed, so I need alert on green status. I also do not want my main status pages to be red all the time. is there a way to say "red is good, but green is bad"?
Other monitoring tools allow for contingencies like 'if the WAN IP is down, then try pinging the WWAN IP, but do not ping WWAN IP until then." can hobbit do this?
Kenneth Falor | Network Administrator | First Choice Emergency Room
list Cathy Smith
Folks
I set up a check to match a string for a web email server in my bb-hosts
file to ensure that the page was loading properly. The check looked
like:
10.10.5.173 foobar.pnl.gov # class:server
cont=WebMail;https://foobar.pnl.gov;WebMail.Access
The check worked fine until this past weekend when the email server was
migrated from Exchange 2003 to Exchange 2007. Now instead of an
index.html file being downloaded, I get a SGML document. Even though
the same string is in the title tag in the document, the check fails.
Can someone suggest a way to check that the page has properly loaded?
Thanks for your help.
Regards,
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
list Henrik Størner
▸
In <user-d82bc29c1413@xymon.invalid> Kenneth Falor <user-b203be41ccd1@xymon.invalid> writes:
If I ping the cell cards static IP it is down (red) when it is not dialed, = so I need alert on green status. I also do not want my main status pages to= be red all the time. is there a way to say "red is good, but green is bad= "?
From the bb-hosts man-page: "!conn" will be green when the host is NOT up, and red if it does appear on the network.
Other monitoring tools allow for contingencies like 'if the WAN IP is down,= then try pinging the WWAN IP, but do not ping WWAN IP until then." can hob= bit do this?
Not quite, Xymon will always ping both of the interfaces. But you
could do something like
10.0.0.1 wanconnection # conn=best,192.168.1.1 testip
where 10.0.0.1 is the primary IP and 192.168.1.1 is the secondary.
This will show the "conn" status as green if one or the other
IP is up.
Personally, I would probably prefer to get an alert when the
primary connection went down, so I would have each of the two
connections as separate entries in bb-hosts, and then a combined
"virtual" entry for the combined status:
10.0.0.1 wan-primary # testip
192.168.1.1 wan-backup # testip dialup
10.0.0.1 wanconnection # conn=best,192.168.1.1 testip
Then you can trigger a "fix it now!!" alert if "wanconnection"
goes red on the conn status, and a "someone should look into it"
alert if only "wan-primary" goes red.
Regards,
Henrik
list Cathy Smith
▸
Folks I set up a check to match a string for a web email server in my bb-hosts
file to ensure that the web server was functioning correctly The check
▸
looked like: 10.10.5.173 foobar.pnl.gov # class:server cont=WebMail;https://foobar.pnl.gov;WebMail.Access The check worked fine until this past weekend when the email server was migrated from Exchange 2003 to Exchange 2007. Now instead of an index.html file being downloaded, I get a SGML document. Even though the same string is in the title tag in the document, the check fails. Can someone suggest a way to check that the page has properly loaded?
I apologize if you have received this posting twice. There were network
problems when I sent it out originally. I'm not sure it got out.
▸
Thanks for your help.
Regards,
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
list Josh Luthman
Can you try 10.10.5.173 foobar.pnl.gov # class:server cont=WebMail;https://foobar. pnl.gov/index.html;WebMail.Access or instead of index.html put in what file is DocumentIndex (Apache term). I'm guessing the IIS server isn't redirecting properly.
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
On Thu, Nov 5, 2009 at 2:32 PM, Smith, Cathy <user-332e187d7d6d@xymon.invalid> wrote:
Folks I set up a check to match a string for a web email server in my bb-hosts file to ensure that the web server was functioning correctly The check looked like:
10.10.5.173 foobar.pnl.gov # class:server cont=WebMail;https://foobar. pnl.gov;WebMail.Access
▸
The check worked fine until this past weekend when the email server was
migrated from Exchange 2003 to Exchange 2007. Now instead of an index.html
file being downloaded, I get a SGML document. Even though the same string
is in the title tag in the document, the check fails. Can someone suggest a
way to check that the page has properly loaded?
I apologize if you have received this posting twice. There were network
problems when I sent it out originally. I'm not sure it got out.
Thanks for your help.
Regards,
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
list Jason Hand
I would recommend pulling up the web interface in a browser and look at the final redirected page which should be the login screen. Then look at the source text and see what would be a good match. Sent from my BlackBerry
▸
-----Original Message----- From: "Smith, Cathy" <user-332e187d7d6d@xymon.invalid> Date: Thu, 5 Nov 2009 11:32:12 To: <user-ae9b8668bcde@xymon.invalid> Subject: [hobbit] Check for string on web site failing Folks I set up a check to match a string for a web email server in my bb-hosts file to ensure that the web server was functioning correctly The check looked like: 10.10.5.173 foobar.pnl.gov # class:server cont=WebMail;https://foobar.pnl.gov;WebMail.Access The check worked fine until this past weekend when the email server was migrated from Exchange 2003 to Exchange 2007. Now instead of an index.html file being downloaded, I get a SGML document. Even though the same string is in the title tag in the document, the check fails. Can someone suggest a way to check that the page has properly loaded? I apologize if you have received this posting twice. There were network problems when I sent it out originally. I'm not sure it got out. Thanks for your help. Regards, Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
list Cathy Smith
What worked was to get the full redirection the browser. I did a wget from my hobbit server to download the SGML file. Then I did a string match on text that I found in that file. My first string match was not in the SGLM file. It's a picture included by the Java script. Thanks for your help.
▸
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
▸
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, November 05, 2009 11:42 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Check for string on web site failing
Can you try 10.10.5.173 foobar.pnl.gov <http://pnl.gov/>; # class:server cont=WebMail;https://foobar.pnl.gov <http://pnl.gov/>; /index.html;WebMail.Access
▸
or instead of index.html put in what file is DocumentIndex (Apache term). I'm guessing the IIS server isn't redirecting properly. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle On Thu, Nov 5, 2009 at 2:32 PM, Smith, Cathy <user-332e187d7d6d@xymon.invalid> wrote: Folks I set up a check to match a string for a web email server in my bb-hosts file to ensure that the web server was functioning correctly The check looked like: 10.10.5.173 foobar.pnl.gov # class:server cont=WebMail;https://foobar.pnl.gov;WebMail.Access The check worked fine until this past weekend when the email server was migrated from Exchange 2003 to Exchange 2007. Now instead of an index.html file being downloaded, I get a SGML document. Even though the same string is in the title tag in the document, the check fails. Can someone suggest a way to check that the page has properly loaded? I apologize if you have received this posting twice. There were network problems when I sent it out originally. I'm not sure it got out. Thanks for your help. Regards, Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
list David Baldwin
▸
Smith, Cathy wrote:
What worked was to get the full redirection the browser. I did a wget from my hobbit server to download the SGML file. Then I did a string match on text that I found in that file. My first string match was not in the SGLM file. It's a picture included by the Java script. Thanks for your help.
Another solution to this is to use the ext script 'urlplus' which will follow redirects (via Location: headers not Javascript). David.
▸
Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 05, 2009 11:42 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Check for string on web site failing Can you try 10.10.5.173 foobar.pnl.gov <http://pnl.gov/>; # class:server cont=WebMail;https://foobar.pnl.gov
<http://pnl.gov/>/index.html;WebMail.Access
▸
or instead of index.html put in what file is DocumentIndex (Apache
term). I'm guessing the IIS server isn't redirecting properly.
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
On Thu, Nov 5, 2009 at 2:32 PM, Smith, Cathy <user-332e187d7d6d@xymon.invalid
<mailto:user-332e187d7d6d@xymon.invalid>> wrote:
Folks
I set up a check to match a string for a web email server in my
bb-hosts file to ensure that the web server was functioning
correctly The check looked like:
10.10.5.173 foobar.pnl.gov <http://pnl.gov>; # class:server cont=WebMail;https://foobar.pnl.gov <http://pnl.gov>;WebMail.Access
▸
The check worked fine until this past weekend when the email
server was migrated from Exchange 2003 to Exchange 2007. Now
instead of an index.html file being downloaded, I get a SGML
document. Even though the same string is in the title tag in the
document, the check fails. Can someone suggest a way to check
that the page has properly loaded?
I apologize if you have received this posting twice. There were
network problems when I sent it out originally. I'm not sure it
got out.
Thanks for your help.
Regards,
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid <mailto:user-332e187d7d6d@xymon.invalid> XXX.XXX.XXXX
-- David Baldwin - IT Unit Australian Sports Commission www.ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 user-cbbf693f2c89@xymon.invalid Leverrier Street Bruce ACT 2617 Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Cathy Smith
David Where do I find that script?
▸
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
-----Original Message-----
▸
From: David Baldwin [mailto:c
Sent: Thursday, November 05, 2009 5:02 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Check for string on web site failing
Smith, Cathy wrote:What worked was to get the full redirection the browser. I did a wget from my hobbit server to download the SGML file. Then I did a string match on text that I found in that file. My first string match
was not in the SGLM file. It's a picture included by the Java script. Thanks for your help.
Another solution to this is to use the ext script 'urlplus' which will follow redirects (via Location: headers not Javascript). David.
Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX -- *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Thursday, November 05, 2009 11:42 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Check for string on web site failing Can you try 10.10.5.173 foobar.pnl.gov <http://pnl.gov/>; # class:server cont=WebMail;https://foobar.pnl.gov <http://pnl.gov/>/index.html;WebMail.Access or instead of index.html put in what file is DocumentIndex (Apache term). I'm guessing the IIS server isn't redirecting properly. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle On Thu, Nov 5, 2009 at 2:32 PM, Smith, Cathy <user-332e187d7d6d@xymon.invalid <mailto:user-332e187d7d6d@xymon.invalid>> wrote: Folks I set up a check to match a string for a web email server in my bb-hosts file to ensure that the web server was functioning correctly The check looked like: 10.10.5.173 foobar.pnl.gov <http://pnl.gov>; # class:server cont=WebMail;https://foobar.pnl.gov <http://pnl.gov>;WebMail.Access The check worked fine until this past weekend when the email server was migrated from Exchange 2003 to Exchange 2007. Now instead of an index.html file being downloaded, I get a SGML document. Even though the same string is in the title tag in the document, the check fails. Can someone suggest a way to check that the page has properly loaded? I apologize if you have received this posting twice. There were network problems when I sent it out originally. I'm not sure it got out. Thanks for your help. Regards, Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory user-332e187d7d6d@xymon.invalid <mailto:user-332e187d7d6d@xymon.invalid> XXX.XXX.XXXX
-- David Baldwin - IT Unit Australian Sports Commission www.ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 user-cbbf693f2c89@xymon.invalid Leverrier Street Bruce ACT 2617 Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.