

Using Zenoss with Munin plugins
I have started using Zenoss as a possible network/server monitoring alternative to using Nagios / Munin to monitor our network. I have started the Zenoss implementation but I am looking to extend what Zenoss can monitor. Munin has worked well for producing graphs of the systems, but it would be nice to integrate the functionality that Munin has into Zenoss and create a Zenpack that will monitor and graph all available Munin plugins running on a munin-client host. This would be really nice as our hosts already have the munin-node setup. I'm going to start with the Admin Guide to writing a ZenCommand and seeing if I can put together a script for Zenmodeler that will fetch the available plugins, the the info it needs about the plugin and start monitoring/graphing the service. I found a great Nagios plugin check_munin to use to fetch the data from the host as a good example of getting the data from the node. I may rewrite it in python to better integrate it into Zenoss.
...
20080616 -
I have decided to use Python for this project, writing a new agent that will use the telnetlib module to fetch the data from the munin-node. Here is a little example of Python in action getting the data from the node.
#!/usr/bin/python>>> EOS
import sys
import telnetlib
HOST = "localhost"
PORT = "4949"
tn = telnetlib.Telnet(HOST,PORT)
tn.write("list\n")
print tn.read_all()
tn.close()
I will start there, working on getting the list and getting the data in a simple fashon.
Comments
did you keep working on it or not ?
i have the same issue, trying to put munin and zenoss together.
let me know if you worked on it :)
Xinity