I have been tasked with trying to pull zenoss alerts from multiple zenoss instances into nagios. Has anyone done anything similar. I'm not familar with zenoss. Would this be possible by one of the following
1. Using ssh to the zenoss intances to run a command to show the latest alerts,
2. Using SNMP to query the zenoss instance.
3. Using the zenoss api.
Any thoughts would be greatly apprecated.
I don't really want to scrape the web interface using wget/curl etc.
I believe it will be quite convinient to use Zenoss API to poll current events. For example, you can have a look on nice peerl module at http://search.cpan.org/~patbaker/Zenoss-1.11/lib/Zenoss/Router/Events.pm
That looks just the job. I want something simlar to this but want to output to the screen, rather than write to the logfile.