[solved] advancedPing and NaNs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
Muffinman
Posts: 17
Joined: Thu Apr 12, 2007 1:48 am

[solved] advancedPing and NaNs

#1 Post by Muffinman » Mon May 07, 2007 8:02 am

--LAST EDIT--
Problem solved!

SOLUTION:

Due to other problems I had to reinstall the whole server. After that I just installed cacti and imported the DB. -- I forgot to install the advPing template (and probably someone just copied the ss_fping.php).

Now that I imported the template, everything seems to work fine.
--LAST EDIT END--

Hello,

I have again trouble with NaNs in Advanced Ping: (I know the "Debug NaNs in your graph"-Howto from Gandalf, and it doesn't solve my problem.)
On the commandline ss_fping.php works fine and gives correct output, the rra's were (hopefully correct) changed for my needs with "rrdtool tune ...".

--EDIT BEGIN--
In the log there is:

05/07/2007 03:36:24 PM - CMDPHP: Poller[0] Host[133] DS[2416] SERVER: /var/www/cacti/scripts/ss_fping.php ss_fping myHost 20 ICMP , output: loss:100.00

--EDIT END--

I'll paste now a command line and a rra head for example:

# /usr/bin/php scripts/ss_fping.php myHost

min:687.6000 avg:822.7600 max:1249.9800 dev:194.6010 loss:0.0000

(Values are large - but very correct!)


------rra snipet from myHost-------

<ds>
<name> max </name>
<type> GAUGE </type>
<minimal_heartbeat> 450 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 9.0000000000e+03 </max>

<!-- PDP Status -->
<last_ds> U </last_ds>
<value> NaN </value>
<unknown_sec> 67 </unknown_sec>
</ds>

<ds>
<name> min </name>
<type> GAUGE </type>
<minimal_heartbeat> 450 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.0000000000e+03 </max>

<!-- PDP Status -->
<last_ds> U </last_ds>
<value> NaN </value>
<unknown_sec> 67 </unknown_sec>
</ds>

<ds>
<name> dev </name>
<type> GAUGE </type>
<minimal_heartbeat> 450 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 5.0000000000e+02 </max>

<!-- PDP Status -->
<last_ds> U </last_ds>
<value> NaN </value>
<unknown_sec> 67 </unknown_sec>
</ds>

<ds>
<name> avg </name>
<type> GAUGE </type>
<minimal_heartbeat> 450 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 9.0000000000e+03 </max>

<!-- PDP Status -->
<last_ds> U </last_ds>
<value> NaN </value>
<unknown_sec> 67 </unknown_sec>
</ds>

<ds>
<name> loss </name>
<type> GAUGE </type>
<minimal_heartbeat> 450 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 9.9990000000e+03 </max>

<!-- PDP Status -->
<last_ds> 100.00 </last_ds>
<value> 6.7000000000e+03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>

------end of rra snipet from myHost-------

Post Reply