Has anyone played around with a Nagios wrapper for xymon?
list Betsy Schwartz
There are so many Nagios plug-ins out there, and we've grabbed a few for xymon and rewritten them, but I'm wondering how feasible it would be to just write a generic nagios wrapper script that called a nagios test and returned the results in xymon format. Seems like it should be straightforward, so I'm wondering if anyone out there has done this already? Betsy -never write what you can steal
list Galen Johnson
I'm fairly certain that that wrapper already exists. I just haven't had the chance to play with it. =G=
▸
From: Xymon [xymon-bounces at xymon.com] on behalf of Betsy Schwartz [user-c61747246f66@xymon.invalid]
Sent: Wednesday, May 29, 2013 5:02 PM
To: xymon at xymon.com
Subject: [Xymon] Has anyone played around with a Nagios wrapper for xymon?
There are so many Nagios plug-ins out there, and we've grabbed a few for xymon and rewritten them, but I'm wondering how feasible it would be to just write a generic nagios wrapper script that called a nagios test and returned the results in xymon format. Seems like it should be straightforward, so I'm wondering if anyone out there has done this already?
Betsy
-never write what you can steal
list Jeremy Laidman
▸
On 30 May 2013 07:02, Betsy Schwartz <user-c61747246f66@xymon.invalid> wrote:
I'm wondering how feasible it would be to just write a generic nagios wrapper script that called a nagios test and returned the results in xymon format.
What a great idea!
Similarly, might be nice to be able to send Xymon results to a Nagios
server. This type of inter-connectivity can only help to bring people
across to Xymon.
J
list Betsy Schwartz
I found part of what I want : - xynagios, which I grabbed out of the "hobbit-plugins" package on the debian source boards (we are running RHEL) This plugin seems to just be for the client side of the equation but I might grab some of the code. It's one of those things that looks extremely simple - nagios plugins run at the command line and return an integer value and a pile of text and some data - but the devil is probably in the details . I'm going to cobble something up for proof of concept. (need to decide whether I need to re-parse the command line, or whether I want to)
list Martin Flemming
▸
On Wed, 29 May 2013, Betsy Schwartz wrote:
I found part of what I want : - xynagios, which I grabbed out of the "hobbit-plugins" package on the debian source boards (we are running RHEL) This plugin seems to just be for the client side of the equation but I might grab some of the code. It's one of those things that looks extremely simple - nagios plugins run at the command line and return an integer value and a pile of text and some data - but the devil is probably in the details . I'm going to cobble something up for proof of concept. (need to decide whether I need to re-parse the command line, or whether I want to)
I've got a dream a long time ago .... :-)
Yes, that's would be also my hint for you ... unfortunately my own
programming skills are insufficient :-(
So, i'm very, very exciting about your progress :-)
thanks & cheers
Martin
list Betsy Schwartz
Just to follow up - I took another look at xynagios and it actually does what we want on the server side. I took xynagios and Hobbit.pm file from the Debian distro and had to compile nagios, installed Nagios::Plugins from cpan, and I had to grab nagios-plugins-perl , nagios-plugins-1.4.16.tar , and build it to get the missing utils.pm All that, and the nagios plugins for HP monitoring aren't really that great. check_ilo2_health.pl only checks temperature. check_snmp_HP_Bladesystem.pl was useful but super terse. I am reminded that one reason we like xymon so much is that xymon lets you send long informative text !