May take the SNMP information, but in device state down

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
wxhh12
Posts: 5
Joined: Wed May 23, 2007 10:31 am

May take the SNMP information, but in device state down

Post by wxhh12 »

May take the SNMP information, but in device equipment state is down,Other 3com all may U P


SNMP Information:

System: 3Com SuperStack 3 Switch 4500 50-Port Software Version 3Com OS V3.01.00s56
Uptime: 6965700 (0 days, 19 hours, 20 minutes)
Hostname: 4500-243
Location: Marlborough, MA 01752 USA
Contact: 3Com Corporation.



Asked was any place is wrong
Attachments
cacti.JPG
cacti.JPG (5.8 KiB) Viewed 4504 times
Last edited by wxhh12 on Wed May 23, 2007 9:25 pm, edited 1 time in total.
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

snmp service is up in it? snmp password error? or no MIBs file?
wxhh12
Posts: 5
Joined: Wed May 23, 2007 10:31 am

Post by wxhh12 »

I have not set the password, catcai server normally, this 3com switch snmp I have opened


snmpwalk messsage


snmpwalk -v 1 -c public 192.168.X.X

SNMPv2-MIB::sysDescr.0 = STRING: 3Com SuperStack 3 Switch 4500 50-Port Software Version 3Com OS V3.01.00s56
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.43.1.16.4.3.22
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (12877900) 1 day, 11:46:19.00
SNMPv2-MIB::sysContact.0 = STRING: 3Com Corporation.
SNMPv2-MIB::sysName.0 = STRING: 4500-243
SNMPv2-MIB::sysLocation.0 = STRING: Marlborough, MA 01752 USA
SNMPv2-MIB::sysServices.0 = INTEGER: 78
IF-MIB::ifNumber.0 = INTEGER: 56
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.31 = INTEGER: 31
IF-MIB::ifIndex.4227614 = INTEGER: 4227614
IF-MIB::ifIndex.4227626 = INTEGER: 4227626
IF-MIB::ifIndex.4227634 = INTEGER: 4227634
IF-MIB::ifIndex.4227642 = INTEGER: 4227642
IF-MIB::ifIndex.4227650 = INTEGER: 4227650


[root@sh-cacti ~]# snmpwalk -O s -v 1 192.168.X.X -c public .1.3.6.1.2.1.2
ifNumber.0 = INTEGER: 56
ifIndex.14 = INTEGER: 14
ifIndex.16 = INTEGER: 16
ifIndex.31 = INTEGER: 31
ifIndex.4227614 = INTEGER: 4227614
ifIndex.4227626 = INTEGER: 4227626
ifIndex.4227634 = INTEGER: 4227634
ifIndex.4227642 = INTEGER: 4227642
ifIndex.4227650 = INTEGER: 4227650
ifIndex.4227658 = INTEGER: 4227658
ifIndex.4227666 = INTEGER: 4227666
ifIndex.4227674 = INTEGER: 4227674
ifIndex.4227682 = INTEGER: 4227682
ifIndex.4227690 = INTEGER: 4227690
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

cacti log information?you can set 'DEBUG' in 'setting'--'general'--'poller syslog/eventlog selection'
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

wxhh12
Posts: 5
Joined: Wed May 23, 2007 10:31 am

Post by wxhh12 »

[root@cacti scripts]# tail -f /usr/local/apache/htdocs/cacti/log/cacti.log
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select id from host where disabled = '' order by id"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into settings (name,value) values ('path_webroot','/usr/local/apache/htdocs/cacti')"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "truncate table poller_time"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into settings (name,value) values ('date',NOW())"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_id,end_time from poller_time where poller_id = 0"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) "
05/24/2007 03:36:02 PM - SYSTEM STATS: Time:0.0133 Method:cmd.php Processes:1 Threads:N/A Hosts:0 HostsPerProcess:0 DataSources: RRDsProcessed:0
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "replace into settings (name,value) values ('stats_poller','Time:0.0133 Method:cmd.php Processes:1 Threads:N/A Hosts:0 HostsPerProcess:0 DataSources: RRDsProcessed:0')"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "truncate table poller_output"
05/24/2007 03:36:02 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select count(*) from poller_command"






snmpwalk -v 1 -c public 192.168.1.2 sysdescr


SNMPv2-MIB::sysDescr.0 = STRING: 3Com SuperStack 3 Switch 4500 50-Port Software Version 3Com OS V3.01.00s56
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

'console'--'system utilities'--'view cacti log file'
if you set 'debug' ,there'll have many info
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

can you try to use the "SNMP - Reliable" Downed Host Detection method ?

(in Settings -> Poller)
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
wxhh12
Posts: 5
Joined: Wed May 23, 2007 10:31 am

Post by wxhh12 »

I have chosen SNMP-Reliable .

I use MRTG can get the information for each port, but can only be used cacti snmp information, But deivce state dwown.

cacti can get other 3COM Swithc of information.
Attachments
poller.JPG
poller.JPG (28.65 KiB) Viewed 4451 times
wxhh12
Posts: 5
Joined: Wed May 23, 2007 10:31 am

Post by wxhh12 »

I change into cacti-0.8.J to cacti-0.8.6i, it's ok,.BUG? ? ? ?


Thanks help
bayub
Posts: 1
Joined: Tue Jun 19, 2007 12:45 pm

Post by bayub »

Worked here when I choose from SNMP-Reliable to Ping and SNMP - Most recommended (in Settings -> Poller).

On my 3com 4500 im usin SNMP v 2c.
My cacti version is 0.8.6j


[ ]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest