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<br><br>My log files are not helpful, the sample output is as below.<br>
<br>nms:/opt# tail -f /var/log/nagiosgrapher/ngraph.log<br>2011-01-18 16:54:37 VALUES: [27105900800-Ninirichi][PING]: RTA=4.18 Loss=0<br>2011-01-18 16:54:37 VALUES: [localhost][HTTP]: http_res=0.001474<br>2011-01-18 16:54:47 VALUES: [27879422857-RedAlertEL][PING]: RTA=68.98 Loss=0<br>
2011-01-18 16:54:47 VALUES: [27879422871-Telemasters][PING]: RTA=58.94 Loss=0<br>2011-01-18 16:54:47 VALUES: [27879422860-ProtekUMT][PING]: RTA=66.97 Loss=0<br>2011-01-18 16:54:47 VALUES: [27879422863-NzelenzelePrestron][PING]: RTA=46.54 Loss=0<br>
2011-01-18 16:55:17 VALUES: [27879413762-TargetCranes][PING]: RTA=15.73 Loss=16<br>2011-01-18 16:55:17 VALUES: [27879413740-IpexDBN][PING]: RTA=37.26 Loss=0<br>2011-01-18 16:55:47 VALUES: [27879434778-ChalkAiRumt][PING]: RTA=65.54 Loss=0<br>
2011-01-18 16:55:47 VALUES: [gateway][PING]: RTA=0.55 Loss=0<br><br><br>My ngraph config file is as below :<br> pipe /var/lib/nagiosgrapher/ngraph.pipe<br> port 5667<br> buffer 1024<br>
interface pipe<br><br> # please use subfolder<br> pidfile /var/run/nagiosgrapher/nagiosgrapher.pid<br> user nagios<br> group nagios<br><br>
# normal_check_interval<br> step 60<br><br> # VALUE (e.g. 600 for 5 minutes ) or AUTO<br> heartbeat 600<br><br> rrdpath /var/lib/nagiosgrapher/rrd/<br> tmppath /tmp/nagiosgrapher/<br>
<br> fontfile<br><br> serviceext_type MULTIPLE<br> serviceextinfo /etc/nagiosgrapher/nagios3/serviceextinfo.cfg<br> serviceext_path /etc/nagiosgrapher/nagios3/serviceext<br><br> url /cgi-bin/nagios3/graphs.cgi<br>
#notes_url /wiki/index.php/$HOSTNAME$#$SERVICEDESC$<br> notes_url ""<br><br> nagios_config /etc/nagios3/nagios.cfg<br> cgi_config /etc/nagios3/cgi.cfg<br>
<br> icon_image_tag 'dot.png' border="0"></a><A TARGET="_blank" HREF='gr aphs.cgi?___URL___'><img src='___IMAGESRC___' '<br>
icon_image_src /nagios3/images/graph.png<br> icon_image_script /cgi-bin/nagios3/rrd2-system.cgi?___URL___&start=-54 00&title=Actual&width=20&height=20&type=AVERAGE&only-graph=true<br>
icon_image_static false<br><br> log_file /var/log/nagiosgrapher/ngraph.log<br> log_level 1<br><br> rrd_color_background ffffff<br> rrd_color_font 333333<br> rrd_color_arrow ff0000<br>
rrd_color_frame ffffff<br> rrd_color_grid<br> rrd_color_canvas ffffff<br> rrd_color_shadea c0c0c0<br> rrd_color_shadeb c0c0c0<br><br> fe_use_browser_all false<br> fe_use_browser_for nagiosadmin<br>
fe_use_browser_url false<br><br> fe_use_timefilter true<br><br> use_authentication true<br><br> #<br> # HOOKS: Comma seperated list of perl modules ...<br><br> # All hooks before an srvext entry is created<br>
# hooks_serviceext NagiosGrapher::Hooks::SrvExtTest<br><br> # Hooks before RRD is updated<br> # hooks_rrdupdate NagiosGrapher::Hooks::RRDUpdateTest<br><br> # Example hook for writing a hostextinfo<br>
# With the action=hostgraph example ...<br> # The module runs under hooks_serviceext too ...<br> # hooks_rrdupdate NagiosGrapher::Hooks::SrvExtWriteHostextInfo<br><br><br> # Bevor Multi- and Singlegraphs, but different types.<br>
# Hooks before an image is displayed<br> # hooks_imagegraph NagiosGrapher::Hooks::ImageGraphTest<br><br> # Example for invoking multiple hooks ...<br> # hooks_imagegraph NagiosGrapher::Hooks::ImageGraphTest,NagiosGrapher ::Hooks::ImageGraphTest<br>
<br>}<br><br># Includes<br>cfg_dir=/etc/nagiosgrapher/ngraph.d<br><br># [EOF] (Don't remove this line ...)<br><br>Then i have changed all the other settings on nagios.cfg :<br><br><br> process_peformance_data=1<br><br>
service_perfdata_command=ngraph-process-service-perfdata-pipe.<br><br><br>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/<br>
<br>Anyone out there with an idea, if you require any other information i will gladly provide so as to help resolve this issue.<br><br>Regards<br><br><br><br><br><br><br><pre class="code"><br></pre><br><br>