Xymon Mailing List Archive search

Modifying scheduled disable/enable

7 messages in this thread

list Mike Burger · Thu, 31 Oct 2013 10:37:42 -0400 (EDT) ·
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
list Josh Luthman · Thu, 31 Oct 2013 11:13:14 -0400 ·
Can you just do a second one limited to that extra hour?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
quoted from Mike Burger
On Oct 31, 2013 11:10 AM, "Mike Burger" <user-cc5c6e80f4c5@xymon.invalid> 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

list Tom Diehl · Thu, 31 Oct 2013 11:22:52 -0400 (EDT) ·
Hi Mike,
quoted from Mike Burger

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			user-dcee455aaab0@xymon.invalid		Spamtrap address	 		user-4d123f9c385b@xymon.invalid
list Mike Burger · Thu, 31 Oct 2013 11:41:17 -0400 (EDT) ·
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.
quoted from Josh Luthman
-- 
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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Oct 31, 2013 11:10 AM, "Mike Burger" <user-cc5c6e80f4c5@xymon.invalid> 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

list Ralph Mitchell · Thu, 31 Oct 2013 12:57:13 -0400 ·
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
quoted from Mike Burger
On Oct 31, 2013 11:10 AM, "Mike Burger" <user-cc5c6e80f4c5@xymon.invalid> 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

list Ryan Novosielski · Thu, 31 Oct 2013 17:50:11 -0400 ·
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). 
quoted from Ralph Mitchell


----- Original Message -----
From: user-dcee455aaab0@xymon.invalid [mailto:user-dcee455aaab0@xymon.invalid]
Sent: Thursday, October 31, 2013 11:22 AM
To: Mike Burger <user-cc5c6e80f4c5@xymon.invalid>
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			user-dcee455aaab0@xymon.invalid		Spamtrap address	 		user-4d123f9c385b@xymon.invalid
list Mike Burger · Fri, 1 Nov 2013 07:30:32 -0400 (EDT) ·
quoted from Ryan Novosielski
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: user-dcee455aaab0@xymon.invalid [mailto:user-dcee455aaab0@xymon.invalid]
Sent: Thursday, October 31, 2013 11:22 AM
To: Mike Burger <user-cc5c6e80f4c5@xymon.invalid>
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.
That's correct. As there's currently no facility to edit the schedules via
the GUI (perhaps I should submit that as a feature request), I was hoping
to find a file where I could modify the (Unix) start time and duration (as
that's how they appear to be stored, when I look at them in the xymond.chk
file).