no load average

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

Moderators: Developers, Moderators

redeye
Posts: 18
Joined: Fri Feb 04, 2005 8:42 am

no load average

Post by redeye »

At last i have all working, i switched my cacti installation onto an other server. All goes well, exept load average is not graphed anymore after 4 pm this afternoon, on ALL Servers :s.

Using, cmd poller, 0.8.6g, rrdtool 1.0.49.

So cpu, mem,disk, network, all are fine, except Load average :(

I do get this in the logging:

11/05/2005 03:50:02 AM - CACTID: Poller[0] Host[23] DS[703] WARNING: Result from SNMP not valid. Partial Result: ...

DS 703: is load avarage

But when i use snmp walk the respons is good.

What can i do?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please switch to DEBUG mode to get more information. Post the appropriate snipped from cact.log, please.
Reinhard
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please attempt to remake with this modified version of snmp.c. Let me know how it goes.
Attachments
snmp.zip
(3.41 KiB) Downloaded 392 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
redeye
Posts: 18
Joined: Fri Feb 04, 2005 8:42 am

Post by redeye »

uploaded new source and recompiled, switched to cactid, no changes.

log
11/06/2005 08:16:26 AM - CACTID: Poller[0] Host[51] DS[659] WARNING: Result from SNMP not valid. Partial Result: .1.3.6.1.4.1.2021.10..

SNMPWALK
>snmpwalk -c public -v 2c xxx.xxx.xxx.xxx .1.3.6.1.4.1.2021.10
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1
UCD-SNMP-MIB::laIndex.2 = INTEGER: 2
UCD-SNMP-MIB::laIndex.3 = INTEGER: 3
UCD-SNMP-MIB::laNames.1 = STRING: Load-1
UCD-SNMP-MIB::laNames.2 = STRING: Load-5
UCD-SNMP-MIB::laNames.3 = STRING: Load-15
UCD-SNMP-MIB::laLoad.1 = STRING: 0.37
UCD-SNMP-MIB::laLoad.2 = STRING: 0.47
UCD-SNMP-MIB::laLoad.3 = STRING: 0.38
UCD-SNMP-MIB::laConfig.1 = STRING: 12.00
UCD-SNMP-MIB::laConfig.2 = STRING: 12.00
UCD-SNMP-MIB::laConfig.3 = STRING: 12.00
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 37
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 47
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 38
UCD-SNMP-MIB::laLoadFloat.1 = Opaque: Float: 0.370000
UCD-SNMP-MIB::laLoadFloat.2 = Opaque: Float: 0.470000
UCD-SNMP-MIB::laLoadFloat.3 = Opaque: Float: 0.380000
UCD-SNMP-MIB::laErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::laErrorFlag.3 = INTEGER: 0
UCD-SNMP-MIB::laErrMessage.1 = STRING:
UCD-SNMP-MIB::laErrMessage.2 = STRING:
UCD-SNMP-MIB::laErrMessage.3 = STRING:


>snmpwalk -c public -v 2c xxx.xxx.xxx.xxx.1.3.6.1.4.1.2021.10.1.3.3
UCD-SNMP-MIB::laLoad.3 = STRING: 0.32


Data Source Debug

/usr/local/rrdtool-1.0.49/bin/rrdtool create \
/home/xchres/domains/test.com/private_html/cacti/rra/bs01_load_15min_659.rrd \
--step 300 \
DS:load_15min:GAUGE:600:0:500 \
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 \
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

redeye,

Try this one.

Larry
Attachments
snmp.zip
(3.38 KiB) Downloaded 231 times
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
redeye
Posts: 18
Joined: Fri Feb 04, 2005 8:42 am

Post by redeye »

No change, sorry.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you move/delete all the MIB files pointed to by either the environment variable MIBDIRS or the directory pointed to by snmp.conf value MIBDIRS, does the problem resolve itself?

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Also, post your MEDIUM log output when running:

cactid host_id host_id

Where host_id is the host with the issue.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
wau
Posts: 15
Joined: Wed Oct 19, 2005 8:26 am

Post by wau »

I'm having the same problem which I posted about here:
http://forums.cacti.net/about9995.html

Apparently this is a problem starting with cactid-0.8.6f, so you can avoid this by using cactid-0.8.6e instead. I actually haven't tried it because I was under the impression that this bug was being worked on and I was waiting it out, but maybe it's not.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The problems is that I can not reproduce in Windows and I don't have a Linux box to login to.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
dgamble
Cacti User
Posts: 68
Joined: Tue Mar 08, 2005 4:50 pm
Location: Calgary, AB, CA

Post by dgamble »

wau wrote:I'm having the same problem which I posted about here:
http://forums.cacti.net/about9995.html

Apparently this is a problem starting with cactid-0.8.6f, so you can avoid this by using cactid-0.8.6e instead. I actually haven't tried it because I was under the impression that this bug was being worked on and I was waiting it out, but maybe it's not.
I created the bug report in question. :)

I can confirm that you can roll back to cactid-0.8.6e to resolve this issue. I have also confirmed that TheWitness' workaround of not loading MIBs will work, although of course this causes problems if you have other applications that use them.
jlim0930
Posts: 40
Joined: Thu Oct 27, 2005 12:07 am

Post by jlim0930 »

any updates to this problem ?
muriachi
Posts: 14
Joined: Tue Dec 14, 2004 6:54 am
Location: Campinas, BR

Post by muriachi »

My Problem is the same

11/23/2005 02:45:02 PM - CACTID: Poller[0] Host[3] DS[12] WARNING: Result from SNMP not valid. Partial Result: ...
11/23/2005 02:45:02 PM - CACTID: Poller[0] Host[3] DS[13] WARNING: Result from SNMP not valid. Partial Result: ...
11/23/2005 02:45:02 PM - CACTID: Poller[0] Host[3] DS[11] WARNING: Result from SNMP not valid. Partial Result: ...

DS[11], DS[12], DS [13] = Load Average for 1 min, 5 min and 15 min
jlim0930
Posts: 40
Joined: Thu Oct 27, 2005 12:07 am

Post by jlim0930 »

i have changed from cactid to cmd.php and now the load averages are working...

give that a try
dgamble
Cacti User
Posts: 68
Joined: Tue Mar 08, 2005 4:50 pm
Location: Calgary, AB, CA

Workarounds provided

Post by dgamble »

jlim0930 wrote:i have changed from cactid to cmd.php and now the load averages are working...

give that a try
Guys, I gave you all no less than two cactid workarounds in this post. Just pick one and go with it, and let the developers fix it properly for the next version.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest