Graphing values from nagios

Toto Capuccino shoktai at gmail.com
Fri Jan 27 18:18:03 CET 2006


yes i have :

linuxserver:/usr/local/nagios/etc# whereis rrdtool
rrdtool: /usr/bin/rrdtool /usr/local/rrdtool /usr/share/rrdtool
/usr/share/man/man1/rrdtool.1.gz

my nagiosgraph.conf contains :
# Location of debug log file
logfile = /var/log/nagiosgraph.log

# Directory to store rrd database files
rrddir =  /usr/local/nagios/nagiosgraph/rrd

# File containing regular expressions to identify service and perf data
mapfile = /usr/local/nagios/nagiosgraph/map

# Path to rrdtool binary
rrdtool = /usr/bin/rrdtool

Log file -->  ls -ail /var/log/nagiosgraph.log
917658 -rwxrwxrwx  1 root root 0 2006-01-27 17:22 /var/log/nagiosgraph.log

Rrd directory -->  ls -ail /usr/local/nagios/nagiosgraph/rrd/
total 8
1327137 drwxrwxrwx  2 root root 4096 2006-01-27 17:20 .
1327116 drwxr-xr-x  3 root root 4096 2006-01-27 18:15 ..


2006/1/27, Todd Barbera <todd_barbera at wgbh.org>:
>
>  Did you install RRD?
>
>
>
> -----Original Message-----
> *From:* nagios-users-admin at lists.sourceforge.net [mailto:
> nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Toto Capuccino
> *Sent:* Friday, January 27, 2006 12:01 PM
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Graphing values from nagios
>
>
>
> i didnt get nagiosgraph working, maybe you can help.
> I followed the INSTALL paper.
>
>    - I got nagiosgraph.conf, map, insert.pl and show.cgi in
>    /usr/local/nagios/nagiosgraph/
>
>
>    - In *nagios.cfg* i set:
>
>      process_performance_data=1
>      service_perfdata_command=process-service-perfdata
>
>    - In misccommands.cfg:
>
>         define command {
>           command_name  process-service-perfdata
>           command_line  /usr/local/nagios/nagiosgraph/insert.pl
>    "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$"
>         }
>
>
>    - an icon in .../share/images/logos/
>    - in /usr/local/nagios/etc/serviceextinfo.cfg
>
>       Most services can be graphed with no particular configuration
>    like this:
>
>         define serviceextinfo {
>           service_description  serviceblabla
>           host_name       server01,server02
>           notes_url
>    /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
>           icon_image      graph.gif
>           icon_image_alt  View graphs
>         }
>
>
>    - ScriptAlias /nagiosgraph/ /usr/local/nagios/nagiosgraph/ in
>    apache2.conf. The result i get is simply nothing. What did i forgot
>    ? What do i have to put in nagios.cfg to link to serviceextinfo.cfg? I put cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg without success.
>    Do i have to put something in services.cfg? Thanks
>
>   Have you installed a graphing add-on? nagiosgraph works fairly well. You
> can pretty much graph anything so long as you have a grasp of Perl.
>
>
>
> Todd
>
>
>
> -----Original Message-----
> *From:* nagios-users-admin at lists.sourceforge.net [mailto:
> nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Toto Capuccino
> *Sent:* Friday, January 27, 2006 10:56 AM
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* [Nagios-users] Graphing values from nagios
>
>
>
> Hi,
>
> Can someone show me the way to success ? I want to graph the values i get
> from nsclient check-nt -v USEDDISKSPACE on servers.
>
> Is that possible ? How can i retrieve values monitored ?
>
> Thanks for thoughts, help, lessons.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060127/9863d2c8/attachment.html>


More information about the Users mailing list