Hosts with multiple IP's + scheduling standard hosts
list Mv652
Hi, I've searched the archive as well as online but couldn't find a concrete answer. How can I monitor hosts that have multiple IP Addresses? Currently we assign a 'virtual hostname' to each IP: IP Hostname_a IP Hostname_b IP Hostanme_c etc. I'm sure there muct be a simpler way. Secondly, I've seen posts that explain how to schedule checks and alerts for 'critical' hosts with "NKTIME", but is there a way to schedule check of all hosts without adding them to a 'critical' list? We only want to check certain hosts 19:00 - 06:00 M-F for example. Thanks, Mario
list Ralph Mitchell
▸
On Tue, Jun 9, 2009 at 11:59 AM, <user-2e62ad6fd761@xymon.invalid> wrote:
Hi, I've searched the archive as well as online but couldn't find a concrete answer. How can I monitor hosts that have multiple IP Addresses? Currently we assign a 'virtual hostname' to each IP: IP Hostname_a IP Hostname_b IP Hostanme_c etc. I'm sure there muct be a simpler way. Secondly, I've seen posts that explain how to schedule checks and alerts for 'critical' hosts with "NKTIME", but is there a way to schedule check of all hosts without adding them to a 'critical' list? We only want to check certain hosts 19:00 - 06:00 M-F for example.
You could do what I did at EDS, run the checks from cron. That way you get
to schedule exactly when the checks run, and can spread them out over a 5 to
10 minute period. You'll want to make sure that either:
1) the last status message is given a long enough lifetime to get through
the night without going purple;
2) after the last status message, send another message to "disable until
OK". That'll make it go blue until the first morning check. This would
give you positive confirmation that the checks were suspended and
subsequently resumed.
Ralph Mitchell
list Rdeal
Just use the conn I use this set up for hosts with multiple Ips: 172.17.3.22 xx.dom.org # ssh conn=worst,172.17.3.22,172.17.24.10
▸
From: <user-2e62ad6fd761@xymon.invalid> Reply-To: <user-ae9b8668bcde@xymon.invalid> Date: Tue, 09 Jun 2009 10:59:37 -0600 To: <user-ae9b8668bcde@xymon.invalid> Subject: [hobbit] Hosts with multiple IP's + scheduling standard hosts Hi, I've searched the archive as well as online but couldn't find a concrete answer. How can I monitor hosts that have multiple IP Addresses? Currently we assign a 'virtual hostname' to each IP: IP Hostname_a IP Hostname_b IP Hostanme_c etc. I'm sure there muct be a simpler way. Secondly, I've seen posts that explain how to schedule checks and alerts for 'critical' hosts with "NKTIME", but is there a way to schedule check of all hosts without adding them to a 'critical' list? We only want to check certain hosts 19:00 - 06:00 M-F for example. Thanks, Mario
list Mv652
Problem solved thanks - I also then found the explanation in the bb-hosts man page explaining its usage. Thanks again, Mario
▸
rdeal writes: Just use the conn I use this set up for hosts with multiple Ips: 172.17.3.22 xx.dom.org # ssh conn=worst,172.17.3.22,172.17.24.10From: <user-2e62ad6fd761@xymon.invalid> Reply-To: <user-ae9b8668bcde@xymon.invalid> Date: Tue, 09 Jun 2009 10:59:37 -0600 To: <user-ae9b8668bcde@xymon.invalid> Subject: [hobbit] Hosts with multiple IP's + scheduling standard hosts Hi, I've searched the archive as well as online but couldn't find a concrete answer. How can I monitor hosts that have multiple IP Addresses? Currently we assign a 'virtual hostname' to each IP: IP Hostname_a IP Hostname_b IP Hostanme_c etc. I'm sure there muct be a simpler way. Secondly, I've seen posts that explain how to schedule checks and alerts for 'critical' hosts with "NKTIME", but is there a way to schedule check of all hosts without adding them to a 'critical' list? We only want to check certain hosts 19:00 - 06:00 M-F for example. Thanks, Mario
list Mv652
Thanks Ralph, I'll look into that. Is there any particular reason this 'scheduling' feature cannot be done through the bb-hosts as a TAG or similar to the NKTIME? I'm there is a valid reason and I'm asking out of curiosity. Regards, Mario
▸
Ralph Mitchell writes: On Tue, Jun 9, 2009 at 11:59 AM, <user-2e62ad6fd761@xymon.invalid> wrote:Hi, I've searched the archive as well as online but couldn't find a concrete answer. How can I monitor hosts that have multiple IP Addresses? Currently we assign a 'virtual hostname' to each IP: IP Hostname_a IP Hostname_b IP Hostanme_c etc. I'm sure there muct be a simpler way. Secondly, I've seen posts that explain how to schedule checks and alerts for 'critical' hosts with "NKTIME", but is there a way to schedule check of all hosts without adding them to a 'critical' list? We only want to check certain hosts 19:00 - 06:00 M-F for example.You could do what I did at EDS, run the checks from cron. That way you get to schedule exactly when the checks run, and can spread them out over a 5 to 10 minute period. You'll want to make sure that either: 1) the last status message is given a long enough lifetime to get through the night without going purple; 2) after the last status message, send another message to "disable until OK". That'll make it go blue until the first morning check. This would give you positive confirmation that the checks were suspended and subsequently resumed. Ralph Mitchell