|
|
| Author |
Message |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Wed Dec 26, 2007 5:25 am Post subject: Upgrade from 8.6 to 8.7, No 'ucd/net - Memory Usage' anymore |
|
|
Hi,
I upgraded from 0.8.6 to 0.8.7. I installed the new function.php which fixed the graphs. What still doesn't work is "Host Memory - ucd/net - Memory Usage", it is not graphed anymore on *all* hosts, all the *usedswap*.rrd files are not touched anymore.
Cacti log says: 12/26/2007 11:20:32 AM - CMDPHP: Poller[0] Host[90] DS[2039] WARNING: Result from CMD not valid. Partial Result:
Data Source Debug:
/usr/local/bin/rrdtool create \
/var/www/var/www/cacti/rra/vordertuer_usedswap_2039.rrd \
--step 300 \
DS:usedSwap:GAUGE:600:0:U \
DS:availReal:GAUGE:600:0:U \
DS:totalSwap:GAUGE:600:0:U \
DS:availSwap:GAUGE:600:0:U \
DS:memBuffer:GAUGE:600:0:U \
DS:memCached:GAUGE:600:0:U \
DS:totalReal:GAUGE:600:0:U \
DS:usedReal:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
[root@orakel ~]# ls -la /var/www/var/www/cacti/rra/vordertuer_usedswap_2039.rrd
-r--r--r-- 1 root wheel 749240 Dec 25 23:45 /var/www/var/www/cacti/rra/vordertuer_usedswap_2039.rrd
[root@orakel ~]#
Thanks, Helmut
|
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
|
| Back to top |
|
 |
redcap
Joined: 23 Jan 2006 Posts: 18
|
Posted: Tue Jan 22, 2008 11:05 am Post subject: |
|
|
I tried to follow the instructions mentioned on the link above, but without success.
Would it be possible to send your modified script for ucd/net memory usage?
I've attached my original script which was working with version 0.8.6.
Many thanks!
Steven
|
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Tue Jan 22, 2008 11:42 am Post subject: |
|
|
There you go...
| Description: |
|
 Download |
| Filename: |
netsnmp_memory_usage.php.txt |
| Filesize: |
5.45 KB |
| Downloaded: |
68 Time(s) |
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Wed Jan 23, 2008 2:26 am Post subject: |
|
|
Hi
is your Cacti 0.8.7a fully patched ?
|
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Wed Jan 23, 2008 4:37 am Post subject: |
|
|
| Hm, what do you mean with "fully patched"? Is there something more recent than 0.8.7a?
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
|
| Back to top |
|
 |
Helmut Schneider Cacti User
Joined: 05 Feb 2007 Posts: 57
|
Posted: Wed Jan 23, 2008 5:40 am Post subject: |
|
|
| Ah, OK. I use the port on FreeBSD and I'm not sure if the patches are implemented there but I applied the patches manually and the script still works fine.
|
|
| Back to top |
|
 |
|