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    


SNMP error in device page bug w/fix

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
rmcclain
Guest





PostPosted: Mon Aug 30, 2004 1:18 am    Post subject: SNMP error in device page bug w/fix Reply with quote

Many of my devices were showing 'SNMP error' at the top of the device page. I tracked it down, and found that it was having problems with the sysDescr when it's multiline.
To get around this, edit lib/snmp.conf and modify the lines that call

$snmp_value = exec(read_config_option("path_snmpget") . etc...)

inside the cacti_get_snmp function. Make them read instead..

exec(read_config_option("path_snmpget") . etc, $output_value);
$snmp_value = join(" ", $output_value);
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Thu Sep 02, 2004 7:59 pm    Post subject: Reply with quote

This fix has been incorporated into the CVS tree.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group