Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Upgrade from 8.6 to 8.7, No 'ucd/net - Memory Usage' anymore

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Wed Dec 26, 2007 5:25 am    Post subject: Upgrade from 8.6 to 8.7, No 'ucd/net - Memory Usage' anymore Reply with quote

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

PostPosted: Wed Dec 26, 2007 8:51 am    Post subject: Reply with quote

See http://forums.cacti.net/viewtopic.php?t=23932
Works now.
Back to top
redcap



Joined: 23 Jan 2006
Posts: 18

PostPosted: Tue Jan 22, 2008 11:05 am    Post subject: Reply with quote

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

PostPosted: Tue Jan 22, 2008 11:42 am    Post subject: Reply with quote

There you go...


netsnmp_memory_usage.php.txt
 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

PostPosted: Wed Jan 23, 2008 2:26 am    Post subject: Reply with quote

Hi

is your Cacti 0.8.7a fully patched ?
Back to top
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Wed Jan 23, 2008 4:37 am    Post subject: Reply with quote

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

PostPosted: Wed Jan 23, 2008 4:39 am    Post subject: Reply with quote

You can find the patches here : http://cacti.net/download_patches.php
Back to top
Helmut Schneider
Cacti User


Joined: 05 Feb 2007
Posts: 57

PostPosted: Wed Jan 23, 2008 5:40 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group