Archived community.zenoss.org | full text search
Skip navigation
35006 Views 2 Replies Latest reply: Oct 17, 2009 1:11 PM by jcurry RSS
bubble1975 Newbie 1 posts since
Oct 16, 2009
Currently Being Moderated

Oct 16, 2009 5:05 PM

Custom script output parsing?

Hi All,

 

I'm a n00b when it comes to Zenoss, so pardon my ignorance here, but I have a question.  We're thinking of moving from Nagios top Zenoss, but in nagios we make very, very heavy use of custom 'NRPE' nagios service checks.  i.e., the Nagios server connects to the nagios client agent on a host, runs a script I wrote which produces output in the form of a string of text.  The script exits with exit code '0' for 'everything is all good', exit code '1' for 'something is messed up', and exit code '2' for 'we're in a critical mess'.  If the state changes from '0' to '1', for example, nagios emails me the script output so I can get specific details produced by my script on the nature of the problem from the service I am watching.

 

Can I do this with Zenoss?  I see a lot of Zenoss stuff that uses SNMP, but really I care way more about custom script output being interpretted and emailed to me when something is amiss.  Can someone tell me if that is possible, and how to go about doing it?

 

Thanks a million in advance!  BTW - I have read the documentation but have come up short.  Maybe I have to create a custom Zenpack or something?

 

Cheers,

erich

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points