Hi !
I've got a problem with the combo-query ..
There are three server with the same running service, and if only one goes down i want to got an alert
my: combo.cfg
afssrv.afsfs = (afs\-node\-1.afsfs && afs\-node\-10.afsfs && afs\-node\-11.afsfs) == 3
but the check gives me an alert
/usr/lib/xymon/server/bin/xymoncmd combostatus --no-update
status afssrv.afsfs red Wed Dec 28 22:02:50 2011
(afs\-node\-1.afsfs&&afs\-node\-10.afsfs&&afs\-node\-11.afsfs)==3 =(1&&1&&1)==3 = 0
&green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-1&SERVICE=afsfs">afs-node-1.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-10&SERVICE=afsfs">afs-node-10.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-11&SERVICE=afsfs">afs-node-11.afsfs</a>
although all three servies are up and green ...
Any hints or suggestions ?
thanks & cheers
Martin
sorry, running xymon-4-3.7 ...
On Wed, 28 Dec 2011, Martin Flemming wrote:
Hi !
I've got a problem with the combo-query ..
There are three server with the same running service, and if only one goes down i want to got an alert
my: combo.cfg
afssrv.afsfs = (afs\-node\-1.afsfs && afs\-node\-10.afsfs && afs\-node\-11.afsfs) == 3
but the check gives me an alert
/usr/lib/xymon/server/bin/xymoncmd combostatus --no-update
status afssrv.afsfs red Wed Dec 28 22:02:50 2011
(afs\-node\-1.afsfs&&afs\-node\-10.afsfs&&afs\-node\-11.afsfs)==3 =(1&&1&&1)==3 = 0
&green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-1&SERVICE=afsfs">afs-node-1.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-10&SERVICE=afsfs">afs-node-10.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-11&SERVICE=afsfs">afs-node-11.afsfs</a>
although all three servies are up and green ...
Any hints or suggestions ?
thanks & cheers
Martin
On Wed, Dec 28, 2011 at 4:30 PM, Martin Flemming <martin.flemming at desy.de> wrote:
Hi !
I've got a problem with the combo-query ..
There are three server with the same running service, and if only one goes down i want to got an alert
my: combo.cfg
afssrv.afsfs = (afs\-node\-1.afsfs && afs\-node\-10.afsfs && afs\-node\-11.afsfs) == 3
you want it like this
afssrv.afsfs = ( afs\-node\-1.afsfs + afs\-node\-10.afsfs + afs\-node\-11.afsfs ) == 3
the && is a boolean operation, not a plus.
but the check gives me an alert
/usr/lib/xymon/server/bin/xymoncmd combostatus --no-update
status afssrv.afsfs red Wed Dec 28 22:02:50 2011
(afs\-node\-1.afsfs&&afs\-node\-10.afsfs&&afs\-node\-11.afsfs)==3 =(1&&1&&1)==3 = 0
&green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-1&SERVICE=afsfs">afs-node-1.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-10&SERVICE=afsfs">afs-node-10.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-11&SERVICE=afsfs">afs-node-11.afsfs</a>
although all three servies are up and green ...
Any hints or suggestions ?
thanks & cheers
Martin
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Grmph, of course !!
thanks a lot :-)
martin
On Wed, 28 Dec 2011, Asif Iqbal wrote:
On Wed, Dec 28, 2011 at 4:30 PM, Martin Flemming <martin.flemming at desy.de> wrote:
Hi !
I've got a problem with the combo-query ..
There are three server with the same running service, and if only one goes down i want to got an alert
my: combo.cfg
afssrv.afsfs = (afs\-node\-1.afsfs && afs\-node\-10.afsfs && afs\-node\-11.afsfs) == 3
you want it like this
afssrv.afsfs = ( afs\-node\-1.afsfs + afs\-node\-10.afsfs + afs\-node\-11.afsfs ) == 3
the && is a boolean operation, not a plus.
but the check gives me an alert
/usr/lib/xymon/server/bin/xymoncmd combostatus --no-update
status afssrv.afsfs red Wed Dec 28 22:02:50 2011
(afs\-node\-1.afsfs&&afs\-node\-10.afsfs&&afs\-node\-11.afsfs)==3 =(1&&1&&1)==3 = 0
&green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-1&SERVICE=afsfs">afs-node-1.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-10&SERVICE=afsfs">afs-node-10.afsfs</a> &green <a href="/xymon-cgi/svcstatus.sh?HOST=afs-node-11&SERVICE=afsfs">afs-node-11.afsfs</a>
although all three servies are up and green ...
Any hints or suggestions ?
thanks & cheers
Martin
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Gruss
Martin Flemming
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
participants (2)
-
martin.flemming@desy.de
-
vadud3@gmail.com