On 26 June 2015 at 06:01, Dito <dito74 at gmail.com> wrote:
The test that I need NOT reporting on weekends are NOT network tests, they are custom ALC that written on the agent folder and forwarded to the xymon server. Can I only use Downtime for Network tests?
I don't believe it's only for network tests; should work for all tests.
Right now now I have this line, but I am still getting alerts on weekends
10.51.0.203 bosutil.domainname.com # smtp DOWNTIME=ALC1:5:2300:2359:check_op_con,ALC2:5:2300:2359:check_op_con,ALC1:0:0000:1200:check_op_con,ALC1:6:0000:2359:check_op_con,ALC2:0:0000:1200:check_op_con,ALC2:6:0000:2359:check_op_con,mq:0:0300:1000:snapshots
This all looks OK to me. It says to me that you want the server to be in "downtime" state from Friday 11pm to Sunday midday. What day/time are you getting alerts?
Just a hint, you can specify multiple tests in one DOWNTIME specification. So for example:
DOWNTIME=ACL1,ACL2:5:2300:2359:check_op_con,...
I doubt this would help though, but might shorten your config a bit. Interestingly, an example in the Changes file uses a semicolon instead of a comma to separate the different DOWNTIME specifications, so perhaps see if that helps.
Have you looked at the "info" page for the server? It should show what Xymon thinks are the down-times for that server. Can you confirm that this page matches your expectations?
J