blank graphs on nagios

mbizwo simon smbizwo at gmail.com
Tue Jan 18 16:03:57 CET 2011


I successfully installed nagios and nagiosql successfully and then i
installed nagiosgrapher , the graphs are blank for my hosts.  I'm using
Debian GNU/Linux 5.0 , Nagiosql version 3.04  and nagios3

My log files are not helpful, the sample output is as below.

nms:/opt# tail -f /var/log/nagiosgrapher/ngraph.log
2011-01-18 16:54:37 VALUES: [27105900800-Ninirichi][PING]: RTA=4.18 Loss=0
2011-01-18 16:54:37 VALUES: [localhost][HTTP]: http_res=0.001474
2011-01-18 16:54:47 VALUES: [27879422857-RedAlertEL][PING]: RTA=68.98 Loss=0
2011-01-18 16:54:47 VALUES: [27879422871-Telemasters][PING]: RTA=58.94
Loss=0
2011-01-18 16:54:47 VALUES: [27879422860-ProtekUMT][PING]: RTA=66.97 Loss=0
2011-01-18 16:54:47 VALUES: [27879422863-NzelenzelePrestron][PING]:
RTA=46.54 Loss=0
2011-01-18 16:55:17 VALUES: [27879413762-TargetCranes][PING]: RTA=15.73
Loss=16
2011-01-18 16:55:17 VALUES: [27879413740-IpexDBN][PING]: RTA=37.26 Loss=0
2011-01-18 16:55:47 VALUES: [27879434778-ChalkAiRumt][PING]: RTA=65.54
Loss=0
2011-01-18 16:55:47 VALUES: [gateway][PING]: RTA=0.55 Loss=0


My ngraph config file is as below :
 pipe                    /var/lib/nagiosgrapher/ngraph.pipe
    port                    5667
    buffer                  1024
    interface               pipe

    # please use subfolder
    pidfile                 /var/run/nagiosgrapher/nagiosgrapher.pid
    user                    nagios
    group                   nagios

    # normal_check_interval
    step                   60

    # VALUE (e.g. 600 for 5 minutes ) or AUTO
    heartbeat               600

    rrdpath                 /var/lib/nagiosgrapher/rrd/
    tmppath                 /tmp/nagiosgrapher/

    fontfile

    serviceext_type         MULTIPLE
    serviceextinfo          /etc/nagiosgrapher/nagios3/serviceextinfo.cfg
    serviceext_path         /etc/nagiosgrapher/nagios3/serviceext

    url                     /cgi-bin/nagios3/graphs.cgi
    #notes_url              /wiki/index.php/$HOSTNAME$#$SERVICEDESC$
    notes_url               ""

    nagios_config           /etc/nagios3/nagios.cfg
    cgi_config              /etc/nagios3/cgi.cfg

    icon_image_tag          'dot.png' border="0"></a><A TARGET="_blank"
HREF='gr
aphs.cgi?___URL___'><img src='___IMAGESRC___' '
    icon_image_src          /nagios3/images/graph.png
    icon_image_script
/cgi-bin/nagios3/rrd2-system.cgi?___URL___&start=-54
00&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true
    icon_image_static       false

    log_file                /var/log/nagiosgrapher/ngraph.log
    log_level                1

    rrd_color_background    ffffff
    rrd_color_font          333333
    rrd_color_arrow         ff0000
    rrd_color_frame         ffffff
    rrd_color_grid
    rrd_color_canvas        ffffff
    rrd_color_shadea        c0c0c0
    rrd_color_shadeb        c0c0c0

    fe_use_browser_all      false
    fe_use_browser_for      nagiosadmin
    fe_use_browser_url      false

    fe_use_timefilter       true

    use_authentication      true

    #
    # HOOKS: Comma seperated list of perl modules ...

    # All hooks before an srvext entry is created
    # hooks_serviceext        NagiosGrapher::Hooks::SrvExtTest

    # Hooks before RRD is updated
    # hooks_rrdupdate         NagiosGrapher::Hooks::RRDUpdateTest

    # Example hook for writing a hostextinfo
    # With the action=hostgraph example ...
    # The module runs under hooks_serviceext too ...
    # hooks_rrdupdate         NagiosGrapher::Hooks::SrvExtWriteHostextInfo


    # Bevor Multi- and Singlegraphs, but different types.
    # Hooks before an image is displayed
    # hooks_imagegraph        NagiosGrapher::Hooks::ImageGraphTest

    # Example for invoking multiple hooks ...
    # hooks_imagegraph
NagiosGrapher::Hooks::ImageGraphTest,NagiosGrapher
::Hooks::ImageGraphTest

}

# Includes
cfg_dir=/etc/nagiosgrapher/ngraph.d

# [EOF] (Don't remove this line ...)

Then i have changed all the other settings on nagios.cfg :


 process_peformance_data=1

service_perfdata_command=ngraph-process-service-perfdata-pipe.


All the graphs are blank on the services, and the rdd file contains all my
hosts. and there have been created at well in
/etc/nagiosgrapher/nagios3/servicext/

Anyone out there with an idea, if you require any other information i will
gladly provide so as to help resolve this issue.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110118/fdc28470/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list