Modifying scheduled disable/enable
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
I've found $XYMONHOME/server/tmp/xymond.chk, and tried modifying that file, but the changes do not seem to be filtering into the Maintenance screen.
Is there a file that I can modify? If so, where is it?
Thank you.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Can you just do a second one limited to that extra hour?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Oct 31, 2013 11:10 AM, "Mike Burger" <mburger at bubbanfriends.org> wrote:
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
I've found $XYMONHOME/server/tmp/xymond.chk, and tried modifying that file, but the changes do not seem to be filtering into the Maintenance screen.
Is there a file that I can modify? If so, where is it?
Thank you.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Oh, absolutely...that's no more difficult than having set up the initial schedule.
It's just more of a kludge than I was hoping to use, and could end up leaving a more convoluted and messy looking schedule on the maintenance page.
As other tools have the ability to modify a maintenance schedule once it's been set, I'm looking for a simple way to do so here, as well.
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Can you just do a second one limited to that extra hour?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Oct 31, 2013 11:10 AM, "Mike Burger" <mburger at bubbanfriends.org> wrote:
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
I've found $XYMONHOME/server/tmp/xymond.chk, and tried modifying that file, but the changes do not seem to be filtering into the Maintenance screen.
Is there a file that I can modify? If so, where is it?
Thank you.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hi Mike,
On Thu, 31 Oct 2013, Mike Burger wrote:
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
Unless I am missing something it is as simple going into the gui and disabling them again with the correct schedule. I have done that many times. Last change wins.
Regards,
-- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org
Yes, this works. I assumed the original poster didn't want the tedium of editing them all in the GUI all over again, but I realized he didn't say that necessarily. Don't forget, if that is what you want, you can at least script this on the command line using the xymon command (which can use wildcards too, if your servers happen to be named that way).
----- Original Message ----- From: me at tdiehl.org [mailto:me at tdiehl.org] Sent: Thursday, October 31, 2013 11:22 AM To: Mike Burger <mburger at bubbanfriends.org> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Modifying scheduled disable/enable
Hi Mike,
On Thu, 31 Oct 2013, Mike Burger wrote:
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
Unless I am missing something it is as simple going into the gui and disabling them again with the correct schedule. I have done that many times. Last change wins.
Regards,
-- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I believe the xymond.chk is a checkpoint file, where Xymon remembers the state of the world to be able to reload it on restarting. You'd probably need to shutdown xymon, edit the file, then restart xymon.
Ralph Mitchell On Oct 31, 2013 11:10 AM, "Mike Burger" <mburger at bubbanfriends.org> wrote:
We have maintenance scheduled for 14 servers in our environment this Saturday night. Knowing that the systems could be rebooted, etc, anytime between 9PM and 1AM, I've prescheduled these servers to be "disabled" from 2059 on Saturday night thru 0101 on Sunday morning.
I'm now being given a directive to have these systems disabled from 1959 to 0101.
I'd like to be able to modify the existing schedule, without having to remove and recreate them. As the GUI doesn't provide this option (only an option to cancel), I'm hoping that I can find a file wherein I can modify the schedule.
I've found $XYMONHOME/server/tmp/xymond.chk, and tried modifying that file, but the changes do not seem to be filtering into the Maintenance screen.
Is there a file that I can modify? If so, where is it?
Thank you.
-- Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (5)
-
josh@imaginenetworksllc.com
-
mburger@bubbanfriends.org
-
me@tdiehl.org
-
novosirj@ca.rutgers.edu
-
ralphmitchell@gmail.com