Skip navigation
1684 Views 3 Replies Latest reply: Oct 11, 2011 4:53 PM by mwcotton RSS
kenhen93 Rank: White Belt 100 posts since
Sep 27, 2011
Currently Being Moderated

Oct 11, 2011 4:01 PM

Syslog as a datasource?

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.

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    2. Oct 11, 2011 4:29 PM (in response to kenhen93)
    Re: Syslog as a datasource?

    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

  • mwcotton Rank: Brown Belt 563 posts since
    Apr 23, 2008
    Currently Being Moderated
    3. Oct 11, 2011 4:53 PM (in response to kenhen93)
    Re: Syslog as a datasource?

    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.

More Like This

  • Retrieving data ...

Legend

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