Oct 11, 2011 4:01 PM
Syslog as a datasource?
-
Like (0)
Hi,
I have searched for this but I don't see anyone with quite the same kind of question.
I have an in-house application that someone had to write some perl monitoring scripts around. The perl script basically contacts each layer of the application and spits out a metric.
I was able to get development to log each datapoint in a syslog event.
I was able to configure syslog-ng to just send me these events in hope to graph the data.
The shows up basically like: datapoint=20
Is there anyway to parse this into a graph in zenoss?
Thanks.
I am thinking I could maybe do this somehow with a event transform
Not really. Zenoss isn't set up to use syslog like you're saying, so you'd have to do a bunch of work - the closest thing I can recall is when I was setting up a license use check via Syslog. There was a script out there that you'd run from Cron to parse the MySQL database and the script would create RRD files... It never worked really, as I couldn't threshold against it etc. . .
It was back around 2008 in the forums I think...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
to graph it you would need the data on a regular basis, every 5 minutes by default.
If your getting it via zensyslog, your would not be in control of the time the data is retrived.
Your best best would be to write a command data source that would allow zenoss to go get the data.
This way it would be retrieved on a regular basis and be able to be graphed.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||