Xymon Mailing List Archive search

checking alerts file

3 messages in this thread

list Ian Diddams · Wed, 21 Oct 2015 09:59:56 +0000 (UTC) ·
 I thought there was a alerts file checking command that would check it for syntax etc ...  am I dreaming that?
anyone know of some easy way fo checking that the alerts file "makes sense" - this to easily check there isn't some silly typo/stuff up half way down that breaks all the subsequent alerts.
ta!
ian
list Galen Johnson · Wed, 21 Oct 2015 12:05:40 +0000 ·
?Does the Config Report (under Reports) give you the info you're looking for?


=G=
quoted from Ian Diddams


From: Xymon <xymon-bounces at xymon.com> on behalf of Ian Diddams <user-7fbf34ed5219@xymon.invalid>
Sent: Wednesday, October 21, 2015 5:59 AM
To: xymon at xymon.com
Subject: [Xymon] checking alerts file

I thought there was a alerts file checking command that would check it for syntax etc ...  am I dreaming that?

anyone know of some easy way fo checking that the alerts file "makes sense" - this to easily check there isn't some silly typo/stuff up half way down that breaks all the subsequent alerts.

ta!

ian
list Japheth Cleaver · Wed, 21 Oct 2015 06:17:28 -0700 ·
`xymoncmd xymond_alert --dump-config` should give you syntax errors on
STDERR if it sees anything it doesn't understand. Logic errors are a
different thing, but that will also print out what it's planning to do
after parsing.

HTH,
-jc
quoted from Galen Johnson


On Wed, October 21, 2015 5:05 am, Galen Johnson wrote:
?Does the Config Report (under Reports) give you the info you're looking
for?


=G=


From: Xymon <xymon-bounces at xymon.com> on behalf of Ian Diddams
<user-7fbf34ed5219@xymon.invalid>
Sent: Wednesday, October 21, 2015 5:59 AM
To: xymon at xymon.com
Subject: [Xymon] checking alerts file

I thought there was a alerts file checking command that would check it for
syntax etc ...  am I dreaming that?

anyone know of some easy way fo checking that the alerts file "makes
sense" - this to easily check there isn't some silly typo/stuff up half
way down that breaks all the subsequent alerts.

ta!

ian