Re: [jffnms-users] lost RRD datas

2005-02-17 Thread Javier Szyszlican
Hi Kurta, The best debug is on lines 57 & 64 of api.rrdtool.inc.php To be sure its not a polling time problem, run this what -n5 'php -q poller.php ' That will run the poller for a specific host and interface every 5 seconds. Then compare that graph or fetch output to the others, if this is full,

Re: [jffnms-users] lost RRD datas

2005-02-17 Thread Kurta László
Hi Javier, I still suffering with this strange RRD problem :( I have modified the original rrd backend (rrd_update neighborhood) code with some debugging code to be able to see, what's happening. My inserted values are numerics, so, the rrd_update runs succesfully. You see in the outputs the last

Re: [jffnms-users] lost RRD datas

2005-02-16 Thread Javier Szyszlican
Reading your poller output, the code seems ok. The problem is with your RRDs. The only way to get NaN, if its no data (or no valid data) in the period of time. Javier Kurta László wrote: Hi Javier! The RRDs OK now, and the poller runned sometimes with the constant 12 return value. After 5 constan

Re: [jffnms-users] lost RRD datas

2005-02-16 Thread Kurta László
Hi Javier! The RRDs OK now, and the poller runned sometimes with the constant 12 return value. After 5 constant value runs I modifid the poller, to return the collected values, but it seems like the earlier mentioned interfaces give the collected values, and the earlier 'nan' ones give 12! I don

Re: [jffnms-users] lost RRD datas

2005-02-16 Thread Javier Szyszlican
If you are getting rrd Error is probable that you don't have Interface Type FIELDS corresponding with the name of the RRD DS you are using. Javier Kurta László wrote: Hi Javier! I set the GAUGE type for the 'avail', and 'used' values. I deleted the rrds, but that not helps :( The permissions are

Re: [jffnms-users] lost RRD datas

2005-02-16 Thread Kurta László
Hi Javier! I set the GAUGE type for the 'avail', and 'used' values. I deleted the rrds, but that not helps :( The permissions are correct, I have upgraded to 0.8.0 just now, and the last step was changing chown's, like at other previous upgrades. I use Debian Woody, with www-data Apache user. T

Re: [jffnms-users] lost RRD datas

2005-02-15 Thread Javier Szyszlican
Hi Kurta, Are you sure about the type of RRD you are using, this seems like a GAUGE value, and you may have set COUNTER. Also, try deleting all your rrds for this interface type, and let the poller create them again, you may be dealing with a permission issue. Hope that helps, and I would like

[jffnms-users] lost RRD datas

2005-02-15 Thread Kurta László
Hi! I wrote a new poller, grapher, etc. to get Solaris box's free disk space via ssh remotely initiated scripts (df -k...). As I see in the poller's log, the 'used', and 'avail' values are collected succesfully: [EMAIL PROTECTED]:/opt/jffnms/engine$ php -q poller.php 10 : H 10 : Poller Start :