[Xymon] xymon feature I would like to add

Henrik Størner henrik at hswn.dk
Tue Mar 19 10:10:09 CET 2013


Hi,


On 14-03-2013 19:25, Tux Toes wrote:

 > I did float my feature suggestion on the regular mailing list - but I
 > think I was way to subtle.  Here is the gmane archive link - it does
 > explain what I want to do.
 >
 > http://permalink.gmane.org/gmane.comp.monitoring.hobbit/32063

thanks for your mail. Good ideas for enhancements are always welcome, 
and it certainly makes sense to be able to split the disk-status reports 
the way you propose.

I was planning this feature, in a more general fashion. It can equally 
well be used for other of the combined status-reports, e.g. "procs" 
would be an obvious candidate for splitting up this way. So it is 
something that I plan on implementing via an enhancement to the 
analysis.cfg file. Right now my plan is to add a STATUS definition at a 
level above the current HOST/PAGE/GROUP ... definitions, something like:

STATUS=disk_sys
    HOST=*
      DISK / 70 90
      DISK /var 80 95

STATUS=disk_db
    HOST=%^oraserv
      DISK %^/oradata 95 98
      DISK %rollback 60 90
    HOST=%mysql
      DISK /var/lib/mysql 80 90

so you can define the criteria that trigger a "disk_db" status by 
selecting on hostnames or any of the other criteria, and then defining 
the tests that go into the "disk_db" status.

This would also allow you to combine tests that are now separate, e.g. 
all tests regarding a database instance:

STATUS=dbw1
     HOST=*
        DISK ^/oradata/dbw1 80 90
        PROC ora_dbw1_wssu1


I expect this to be ready for the 5.0 release, since this release 
involves a lot of enhancements to the xymond_client / analysis.cfg code.

I have cross-posted this mail to the normal Xymon mailing list, since I 
expect there may be others who are interested in this. I hope you don't 
mind.


Regards,
Henrik




More information about the Xymon mailing list