Xymon Mailing List Archive search

config report from command line?

list Martin Flemming
Fri, 7 Jun 2013 15:46:13 +0200 (CEST)
Message-Id: <user-c7f630f72aed@xymon.invalid>

On Fri, 7 Jun 2013, user-7adce57665bb@xymon.invalid wrote:
I am currently using Xymon 4.3.0 (Yeah, I know, I need to upgrade) on Ubuntu 12.04LTS.
 
I am writing a perl script to parse my configuration and send it in a spreadsheet format.  I have been able to get through most everything 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?
 
I have tried using wget to get configreport.sh and then html2text but this is not easily parsed either.  This cannot be done by just grepping through the alerts.cfg file as
a host may be defined in multiple rules (HOST=*server*, HOST=testserver, PAGE=TEST, etc).
 

Hi !

Maybe you find somthing useful on this side

http://sourceforge.net/apps/mediawiki/xymon/index.php?title=Perl_Library_Discussion

.. by the way, i'm interesting for your script :-)

cheers,

        Martin