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 : 15 Items.
: H 10 : I 97 : P 10 : sssh:avail(avail.1): 376316 -> buffer(): 1 (time P:1712.34 | 0.76)
: H 10 : I 98 : P 10 : sssh:avail(avail.2): 979628 -> buffer(): 2 (time P:1768.78 | 0.37)
: H 10 : I 99 : P 10 : sssh:avail(avail.6): 254476 -> buffer(): 3 (time P:1713.03 | 0.47)
: H 10 : I 100 : P 10 : sssh:avail(avail.9): 4025566 -> buffer(): 4 (time P:1793.9 | 0.38)
: H 10 : I 101 : P 10 : sssh:avail(avail.10): 68899 -> buffer(): 5 (time P:1791.65 | 0.38)
: H 10 : I 97 : P 20 : sssh:used(used.1): 68496 -> buffer(): 6 (time P:2165.84 | 0.38)
: H 10 : I 98 : P 20 : sssh:used(used.2): 1014897 -> buffer(): 7 (time P:1739.41 | 0.38)
: H 10 : I 99 : P 20 : sssh:used(used.6): 190336 -> buffer(): 8 (time P:6831.9 | 0.38)
: H 10 : I 100 : P 20 : sssh:used(used.9): 7839551 -> buffer(): 9 (time P:1866.62 | 0.38)
: H 10 : I 101 : P 20 : sssh:used(used.10): 139717 -> buffer(): 10 (time P:2209.4 | 0.39)
: H 10 : I 97 : P 60 : no_poller(): 0 -> rrd(*): used:68496 - avail:376316 (time P:0.37 | 22.97)
: H 10 : I 98 : P 60 : no_poller(): 0 -> rrd(*): used:1014897 - avail:979628 (time P:0.2 | 20.73)
: H 10 : I 99 : P 60 : no_poller(): 0 -> rrd(*): used:190336 - avail:254476 (time P:0.26 | 20.64)
: H 10 : I 100 : P 60 : no_poller(): 0 -> rrd(*): used:7839551 - avail:4025566 (time P:0.27 | 20.7)
: H 10 : I 101 : P 60 : no_poller(): 0 -> rrd(*): used:139717 - avail:68899 (time P:0.27 | 20.56)
: H 10 : I 97 : P LPD : last_poll_date(): 1108481687 -> db(last_poll_date): 1 (time P:0.5 | 7.17)
: H 10 : I 98 : P LPD : last_poll_date(): 1108481687 -> db(last_poll_date): 1 (time P:0.26 | 6.01)
: H 10 : I 99 : P LPD : last_poll_date(): 1108481687 -> db(last_poll_date): 1 (time P:0.27 | 6.02)
: H 10 : I 100 : P LPD : last_poll_date(): 1108481687 -> db(last_poll_date): 1 (time P:0.27 | 6.05)
: H 10 : I 101 : P LPD : last_poll_date(): 1108481687 -> db(last_poll_date): 1 (time P:0.26 | 6.08)
: H 10 : Poller End, Total Time: 23804.93 msec.


But when I fetch the RRD's from 10 different interfaces (you see five above) 8 don't collect data at all, one collects 'avail', and one another collects 'used' values!? But the poller log shows that all data pushed to RRDs succesfully.

Here is the 'used' collector's RRD fetch output:
rhein:/opt/jffnms/rrd# rrdtool fetch interface-97-0.rrd AVERAGE -r 900 -s -1h
data


1108478400: 6.8496000000e+04
1108478700: 6.8496000000e+04
1108479000: 6.8496000000e+04
1108479300: 6.8496000000e+04
1108479600: 6.8496000000e+04
1108479900: 6.8496000000e+04
1108480200: 6.8496000000e+04
1108480500: 6.8496000000e+04
1108480800: 6.8496000000e+04
1108481100: 6.8496000000e+04
1108481400: 6.8496000000e+04
1108481700: 6.8496000000e+04
1108482000: 6.8496000000e+04
1108482300: nan
rhein:/opt/jffnms/rrd# rrdtool fetch interface-97-1.rrd AVERAGE -r 900 -s -1h
data


1108478400: nan
1108478700: nan
1108479000: nan
1108479300: nan
1108479600: nan
1108479900: nan
1108480200: nan
1108480500: nan
1108480800: nan
1108481100: nan
1108481400: nan
1108481700: nan
1108482000: nan
1108482300: nan

The others 8 shows nan at all time.

What did I do wrong?
Thanx!
Qrta


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to