Is there a manner to configure on Xymon 4.2.3 a planned downtime?
And any news about Xymon 4.3.0 stable?
Thanks in advance.
Leonardo Bozi
leobozi at yahoo.com
You can use enable/disable to schedule future disables of hosts and tests. You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual.
/Johan
From: Leonardo Bozi [mailto:leobozi at yahoo.com] Sent: den 5 januari 2011 13:37 To: xymon at xymon.com Subject: [xymon] Planned downtime
Is there a manner to configure on Xymon 4.2.3 a planned downtime? And any news about Xymon 4.3.0 stable?
Thanks in advance.
Leonardo Bozi
leobozi at yahoo.com<mailto:leobozi at yahoo.com>
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximum time you can do between is weekly.
-- Sent from my Palm Pre On Jan 5, 2011 7:49, Johan Sjöberg <johan.sjoberg at deltamanagement.se> wrote:
You can use enable/disable to schedule future disables of hosts and tests.You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual. /Johan From: Leonardo Bozi [mailto:leobozi at yahoo.com] Sent: den 5 januari 2011 13:37 To: xymon at xymon.com Subject: [xymon] Planned downtime Is there a manner to configure on Xymon 4.2.3 a planned downtime?And any news about Xymon 4.3.0 stable?
Thanks in advance.
Leonardo Bozi
leobozi at yahoo.com
On the other hand, you could use cron to schedule disablement of services:
0 0 * * * /home/xymon/server/bin/bb localhost "disable server,domain,org.TEST 90 scheduled downtime"
would disable the TEST service on server.domain.org for 90 minutes, starting at midnight every night. Note that the hostname elements are comma-separated, because the dot marks the beginning of the test/service column name. That's a legacy of the old BB days...
See the "XYMON MESSAGE SYNTAX" section in the bb.1 man page for full details.
Ralph Mitchell
On Wed, Jan 5, 2011 at 8:30 AM, Ryan Novosielski <novosirj at umdnj.edu> wrote:
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximum time you can do between is weekly.
-- Sent from my Palm Pre
On Jan 5, 2011 7:49, Johan Sjöberg <johan.sjoberg at deltamanagement.se> wrote:
You can use enable/disable to schedule future disables of hosts and tests.
You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual.
/Johan
*From:* Leonardo Bozi [mailto:leobozi at yahoo.com] *Sent:* den 5 januari 2011 13:37 *To:* xymon at xymon.com *Subject:* [xymon] Planned downtime
Is there a manner to configure on Xymon 4.2.3 a planned downtime?
And any news about Xymon 4.3.0 stable?
Thanks in advance.
Leonardo Bozi
leobozi at yahoo.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yes, that is what I currently do (I actually have some that are second X-day of the month which are even more complicated), but it is a shame that I now do not see the downtime information in the 'info' test. With BB, no such test existed so it wasn't as big of a deal as everyone was used to looking in cron.
On 1/5/2011 9:14 AM, Ralph Mitchell wrote:
On the other hand, you could use cron to schedule disablement of services:
0 0 * * * /home/xymon/server/bin/bb localhost "disable server,domain,org.TEST 90 scheduled downtime"
would disable the TEST service on server.domain.org <http://server.domain.org> for 90 minutes, starting at midnight every night. Note that the hostname elements are comma-separated, because the dot marks the beginning of the test/service column name. That's a legacy of the old BB days...
See the "XYMON MESSAGE SYNTAX" section in the bb.1 man page for full details.
Ralph Mitchell
On Wed, Jan 5, 2011 at 8:30 AM, Ryan Novosielski <novosirj at umdnj.edu <mailto:novosirj at umdnj.edu>> wrote:
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximum time you can do between is weekly. -- Sent from my Palm Pre ------------------------------------------------------------------------ On Jan 5, 2011 7:49, Johan Sjöberg <johan.sjoberg at deltamanagement.se <mailto:johan.sjoberg at deltamanagement.se>> wrote: You can use enable/disable to schedule future disables of hosts and tests. You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual. /Johan *From:* Leonardo Bozi [mailto:leobozi at yahoo.com <mailto:leobozi at yahoo.com>] *Sent:* den 5 januari 2011 13:37 *To:* xymon at xymon.com <mailto:xymon at xymon.com> *Subject:* [xymon] Planned downtime Is there a manner to configure on Xymon 4.2.3 a planned downtime? And any news about Xymon 4.3.0 stable? Thanks in advance. Leonardo Bozi ______________________________________________ leobozi at yahoo.com <mailto:leobozi at yahoo.com>
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0kiQAACgkQmb+gadEcsb4hkACgo9Cx0ZkJaHmQ22Hifa90Ck3f /yYAn21/7pxJg11WFB5JOJUHWLuCGsls =wh1m -----END PGP SIGNATURE-----
Do you know about the notes directory?? Somewhere like <xymonhome>/server/www/notes. Drop a file in there called "myserver.domain.com.html" and you'll get a link on the info page just under the Hostname/OS/IP lines. You'll also find that the hostname becomes a link wherever it appears in the main or non-green pages.
Not as good as having it in the info page, but better than nothing.
Ralph Mitchell
On Wed, Jan 5, 2011 at 10:06 AM, Ryan Novosielski <novosirj at umdnj.edu>wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yes, that is what I currently do (I actually have some that are second X-day of the month which are even more complicated), but it is a shame that I now do not see the downtime information in the 'info' test. With BB, no such test existed so it wasn't as big of a deal as everyone was used to looking in cron.
On 1/5/2011 9:14 AM, Ralph Mitchell wrote:
On the other hand, you could use cron to schedule disablement of services:
0 0 * * * /home/xymon/server/bin/bb localhost "disable server,domain,org.TEST 90 scheduled downtime"
would disable the TEST service on server.domain.org <http://server.domain.org> for 90 minutes, starting at midnight every night. Note that the hostname elements are comma-separated, because the dot marks the beginning of the test/service column name. That's a legacy of the old BB days...
See the "XYMON MESSAGE SYNTAX" section in the bb.1 man page for full details.
Ralph Mitchell
On Wed, Jan 5, 2011 at 8:30 AM, Ryan Novosielski <novosirj at umdnj.edu <mailto:novosirj at umdnj.edu>> wrote:
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximum time you can do between is weekly. -- Sent from my Palm Pre
On Jan 5, 2011 7:49, Johan Sjöberg <johan.sjoberg at deltamanagement.se <mailto:johan.sjoberg at deltamanagement.se>> wrote: You can use enable/disable to schedule future disables of hosts and tests. You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual. /Johan *From:* Leonardo Bozi [mailto:leobozi at yahoo.com <mailto:leobozi at yahoo.com>] *Sent:* den 5 januari 2011 13:37 *To:* xymon at xymon.com <mailto:xymon at xymon.com> *Subject:* [xymon] Planned downtime Is there a manner to configure on Xymon 4.2.3 a planned downtime? And any news about Xymon 4.3.0 stable? Thanks in advance. Leonardo Bozi ______________________________________________ leobozi at yahoo.com <mailto:leobozi at yahoo.com>
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0kiQAACgkQmb+gadEcsb4hkACgo9Cx0ZkJaHmQ22Hifa90Ck3f /yYAn21/7pxJg11WFB5JOJUHWLuCGsls =wh1m -----END PGP SIGNATURE-----
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Yeah, that is true. I should probably go through and do that -- there are not that many servers where this is an issue.
If I had something to wish for though, it would be a better scheduler. ;)
On 01/05/2011 12:27 PM, Ralph Mitchell wrote:
Do you know about the notes directory?? Somewhere like <xymonhome>/server/www/notes. Drop a file in there called "myserver.domain.com.html" and you'll get a link on the info page just under the Hostname/OS/IP lines. You'll also find that the hostname becomes a link wherever it appears in the main or non-green pages.
Not as good as having it in the info page, but better than nothing.
Ralph Mitchell
On Wed, Jan 5, 2011 at 10:06 AM, Ryan Novosielski <novosirj at umdnj.edu <mailto:novosirj at umdnj.edu>> wrote:
Yes, that is what I currently do (I actually have some that are second X-day of the month which are even more complicated), but it is a shame that I now do not see the downtime information in the 'info' test. With BB, no such test existed so it wasn't as big of a deal as everyone was used to looking in cron.
On 1/5/2011 9:14 AM, Ralph Mitchell wrote:
On the other hand, you could use cron to schedule disablement of services:
0 0 * * * /home/xymon/server/bin/bb localhost "disable server,domain,org.TEST 90 scheduled downtime"
would disable the TEST service on server.domain.org <http://server.domain.org> <http://server.domain.org> for 90 minutes, starting at midnight every night. Note that the hostname elements are comma-separated, because the dot marks the beginning of the test/service column name. That's a legacy of the old BB days...
See the "XYMON MESSAGE SYNTAX" section in the bb.1 man page for full details.
Ralph Mitchell
On Wed, Jan 5, 2011 at 8:30 AM, Ryan Novosielski <novosirj at umdnj.edu <mailto:novosirj at umdnj.edu> <mailto:novosirj at umdnj.edu <mailto:novosirj at umdnj.edu>>> wrote:
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximumtime you
can do between is weekly.-- Sent from my Palm Pre
On Jan 5, 2011 7:49, Johan Sjöberg<johan.sjoberg at deltamanagement.se <mailto:johan.sjoberg at deltamanagement.se>
<mailto:johan.sjoberg at deltamanagement.se<mailto:johan.sjoberg at deltamanagement.se>>> wrote:
You can use enable/disable to schedule future disables ofhosts and
tests.You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual./Johan*From:* Leonardo Bozi [mailto:leobozi at yahoo.com<mailto:leobozi at yahoo.com>
<mailto:leobozi at yahoo.com <mailto:leobozi at yahoo.com>>] *Sent:* den 5 januari 2011 13:37 *To:* xymon at xymon.com <mailto:xymon at xymon.com><mailto:xymon at xymon.com <mailto:xymon at xymon.com>>
*Subject:* [xymon] Planned downtimeIs there a manner to configure on Xymon 4.2.3 a planned downtime?And any news about Xymon 4.3.0 stable?Thanks in advance.Leonardo Bozi ______________________________________________ leobozi at yahoo.com <mailto:leobozi at yahoo.com><mailto:leobozi at yahoo.com <mailto:leobozi at yahoo.com>>
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com <mailto:xymon-unsubscribe at xymon.com>
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0kxDoACgkQmb+gadEcsb7vegCgjDyb3futvW4u8a7WXrGjjYWh sZ0Anj0MBBfyIM4kG+dRO0VRwgVc/cmn =7hYy -----END PGP SIGNATURE-----
On Wed, Jan 05, 2011 at 09:14:48AM -0500, Ralph Mitchell wrote:
On the other hand, you could use cron to schedule disablement of services:
0 0 * * * /home/xymon/server/bin/bb localhost "disableserver,domain,org.TEST 90 scheduled downtime"
We have used all three mentioned methods plus one more.
1.) cron for advanced disabling.
the scripts use the bb command.
/home/xymon/server/bin/bb localhost "disable server.* 90 bla_mesg"
1:00am to 7:am (420 min)
0 1 13 2 * /var/hobbit/maintenance-script-crow.sh 420 0 1 15 5 * /var/hobbit/maintenance-script-crow.sh 420
4:00am to 7:00am = (180 min)
0 4 9 1 * /var/hobbit/maintenance-script-crow.sh 180 0 4 6 2 * /var/hobbit/maintenance-script-crow.sh 180 0 4 13 3 * /var/hobbit/maintenance-script-crow.sh 180 0 4 3 4 * /var/hobbit/maintenance-script-crow.sh 180
12:01am to 3:00am (180 min)
1 0 23 1 * /var/hobbit/maintenance-script-crow.sh 180 1 0 27 2 * /var/hobbit/maintenance-script-crow.sh 180 1 0 20 3 * /var/hobbit/maintenance-script-crow.sh 180 1 0 17 4 * /var/hobbit/maintenance-script-crow.sh 180 1 0 22 5 * /var/hobbit/maintenance-script-crow.sh 180 1 0 19 6 * /var/hobbit/maintenance-script-crow.sh 180 1 0 17 7 * /var/hobbit/maintenance-script-crow.sh 180 1 0 21 8 * /var/hobbit/maintenance-script-crow.sh 180 1 0 18 9 * /var/hobbit/maintenance-script-crow.sh 180 1 0 18 10 * /var/hobbit/maintenance-script-crow.sh 180 1 0 29 11 * /var/hobbit/maintenance-script-crow.sh 180 1 0 18 12 * /var/hobbit/maintenance-script-crow.sh 180
end
2.) DOWNTIME in bb-hosts used to work for us nicely until our app guys went nuts and having irregurlar downtimes (then we had to use option #1). We still use this for most devel/staging machines.
3.) hobbit-enadis.sh
4.) Move the hobbit-alerts.cg file out of the way and/or just stopped the hobbit server daemon processes. Obviously this is a silly way to do it, but it works too. This will skew your hobbit reporting.
-dkw
would disable the TEST service on [1]server.domain.org for 90 minutes, starting at midnight every night. Note that the hostname elements are comma-separated, because the dot marks the beginning of the test/service column name. That's a legacy of the old BB days...
See the "XYMON MESSAGE SYNTAX" section in the bb.1 man page for full details.
Ralph Mitchell
On Wed, Jan 5, 2011 at 8:30 AM, Ryan Novosielski <[2]novosirj at umdnj.edu> wrote:
With that said, DOWNTIME cannot do advanced scheduling which is I believe one of the very few shortcomings of Xymon. I have a lot of once-a-month maintenance. With Xymon, I believe the maximum time you can do between is weekly.-- Sent from my Palm Pre _______________________________________________________________
On Jan 5, 2011 7:49, Johan Sj�berg <[3]johan.sjoberg at deltamanagement.se> wrote:
You can use enable/disable to schedule future disables of hosts and tests.
You can also use the DOWNTIME setting in bb-hosts if it is a recurring downtime. See the manual.
/Johan
From: Leonardo Bozi [mailto:[4]leobozi at yahoo.com] Sent: den 5 januari 2011 13:37 To: [5]xymon at xymon.com Subject: [xymon] Planned downtime
Is there a manner to configure on Xymon 4.2.3 a planned downtime?
And any news about Xymon 4.3.0 stable? Thanks in advance.
Leonardo Bozi
[6]leobozi at yahoo.com
References
- http://server.domain.org/
- mailto:novosirj at umdnj.edu
- mailto:johan.sjoberg at deltamanagement.se
- mailto:leobozi at yahoo.com
- mailto:xymon at xymon.com
- mailto:leobozi at yahoo.com
In <12942342567953140 at voodoo> "Ryan Novosielski" <novosirj at umdnj.edu> writes:
With that said, DOWNTIME cannot do advanced scheduling which is I believe= one of the very few shortcomings of Xymon. I have a lot of once-a-month ma= intenance. With Xymon, I believe the maximum time you can do between is wee= kly.
I haven't heard this request before, but it would make sense to have some more advanced scheduling options for DOWNTIME. I'll put it on the to-do list for post-4.3.0
Regards, Henrik
Since you mention a 'to-do' list....
I have thousands of systems spread out over 7 time zones.
They all have 'planned downtime' scenarios for the same local time --
eg, 00:30-01:00.
It would be nice to have the downtime checker be able to use client
local time instead of server time.
Tom
-----Original Message----- From: Henrik "StC8rner [mailto:henrik at hswn.dk] Sent: Friday, January 07, 2011 6:36 AM To: xymon at xymon.com Subject: Re: [xymon] Planned downtime
In <12942342567953140 at voodoo> "Ryan Novosielski" <novosirj at umdnj.edu> writes:
With that said, DOWNTIME cannot do advanced scheduling which is I believe= one of the very few shortcomings of Xymon. I have a lot of once-a-month ma= intenance. With Xymon, I believe the maximum time you can do between is wee= kly.
I haven't heard this request before, but it would make sense to have some more advanced scheduling options for DOWNTIME. I'll put it on the to-do list for post-4.3.0
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (7)
-
dkw@trilegiant.com
-
henrik@hswn.dk
-
johan.sjoberg@deltamanagement.se
-
leobozi@yahoo.com
-
novosirj@umdnj.edu
-
ralphmitchell@gmail.com
-
TRBrand@cvs.com