[Xymon] config report from command line?

john.r.rothlisberger at accenture.com john.r.rothlisberger at accenture.com
Fri Jun 14 15:28:25 CEST 2013

I have explored xymond_alert and unless you know something I don't it lacks the information that I am looking for.

For example, if I do:
xymond_alert --test webserver1 conn --color=red --duration=620 --cfid|grep -v Failed

The only semi-useful line is:
00003412 2013-06-14 08:19:33 *** Match with 'PAGE=%.*/ORD EXPAGE=%.*/ORD_DEV EXHOST=app1,app2,db1,db2  EXSERVICE=virtuals COLOR=red,yellow' ***

It does not include the actual actions to be performed that are contained within that match.  For this particular page match, I have 4 separate scripts that can be run:

-          If SERVICE=cpu & COLOR=red

-          If COLOR=red & EXSERVICE=cpu,virtuals,procs <<-- This one should be matched/run

-          If SERVICE=procs & COLOR=red

-          Match all <<- This one should be matched/run

None of the details of what is actually done are displayed.  I know that Xymon can do all of this because, well, it does.  But how can I parse it out via command line?
Upcoming PTO: None
John Rothlisberger
IT Strategy, Infrastructure & Security - Technology Growth Platform
TGP for Business Process Outsourcing
312.693.3136 office

From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]
Sent: Thursday, June 13, 2013 10:28 PM
To: Rothlisberger, John R.
Cc: xymon at xymon.com
Subject: Re: [Xymon] config report from command line?

On 7 June 2013 23:24, <john.r.rothlisberger at accenture.com<mailto:john.r.rothlisberger at accenture.com>> wrote:
but I want to include who gets alerted (or what scripts).  But, I have not found an easy way to do this from the command line.  Has anyone else tried this or have ideas?

What about using the xymond_alert tool.  You can give it a "--dump-config" switch to - well - dump the config.  Also, you can use the "--test" switch to display all scripts tied to a given host/test combination.


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130614/852f08d5/attachment.html>

More information about the Xymon mailing list