ZABBIX Forums  
  #1  
Old 21-01-2010, 11:11
Davvv Davvv is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default SNMP - Cisco 2960 - Timeout ...

Hello !

I'm trying to monitor a cisco 2960 switch. i got a "timeout while connecting to .."
Zabbix version : 1.8
Zabbix server : 10.1.5.33
cisco : 10.0.99.39

I checked all my configurations files but i can't get the solution. i looked after the solution on zabbix forum but still no answer.

the snmpwalk command works : snmpwalk -c test -v1 10.0.99.39:161
i got a lot of informations.

the snmp configuration on my cisco is :

PHP Code:
access-list 50 permit 10.1.5.33

snmp
-server community test RO 50
snmp
-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp
-server enable traps tty
snmp
-server enable traps cluster
snmp
-server enable traps entity
snmp
-server enable traps cpu threshold
snmp
-server enable traps vtp
snmp
-server enable traps vlancreate
snmp
-server enable traps vlandelete
snmp
-server enable traps flash insertion removal
snmp
-server enable traps port-security
snmp
-server enable traps envmon fan shutdown supply temperature status
snmp
-server enable traps mac-notification
snmp
-server enable traps config-copy
snmp
-server enable traps config
snmp
-server enable traps bridge newroot topologychange
snmp
-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
snmp
-server enable traps syslog
snmp
-server enable traps vlan-membership
snmp
-server host 10.1.5.33 test 
my snmp configuration file :

PHP Code:
#       sec.name  source          community
com2sec paranoid  default         test
#com2sec readonly  default         public
#com2sec readwrite default         private

####
# Second, map the security names into group names:

#               sec.model  sec.name
group RO v1        paranoid
group RO v2c       paranoid
group RO usm       paranoid
group RO v1         readonly
group RO v2c        readonly
group RO usm        readonly
group MyRWGroup v1         readwrite
group MyRWGroup v2c        readwrite
group MyRWGroup usm        readwrite 
if somebody has an idea please don't hesitate

thanks for your help
__________________
Davvv
System Administrator
Lyon FRANCE
Reply With Quote
  #2  
Old 21-01-2010, 14:35
alixen alixen is offline
Senior Member
 
Join Date: Apr 2006
Location: Paris, France
Posts: 299
Default

Hi,

You don't describe how you have configured SNMP monitoring within Zabbix.
Have changed SNMP community from 'public' default value to 'test' ?

Regards,
Alixen
Reply With Quote
  #3  
Old 21-01-2010, 15:51
Davvv Davvv is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

Hi,

Thanks for your answer.
Sorry about that, i forgot to tell you this point.

So i did configure the differents ITEMS with the community name (test), the SNMP port 161 and SNMP v1. I can see that the triggers are well configured (green icon).
Then i got the timeout by checking on the host availabily on Zabbix.

Is there anything else to setup ?

Thanks in advance ...
__________________
Davvv
System Administrator
Lyon FRANCE

Last edited by Davvv; 25-01-2010 at 12:49. Reason: mistake triggers instead of items ;)
Reply With Quote
  #4  
Old 22-01-2010, 14:53
Davvv Davvv is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Default

up ! any ideas ?
__________________
Davvv
System Administrator
Lyon FRANCE
Reply With Quote
  #5  
Old 23-01-2010, 04:14
ericgearhart ericgearhart is offline
Member
 
Join Date: Jan 2009
Posts: 53
Default

Quote:
Originally Posted by Davvv View Post
Hi,

Thanks for your answer.
Sorry about that, i forgot to tell you this point.

So i did configure the differents triggers with the community name (test), the SNMP port 161 and SNMP v1. I can see that the triggers are well configured (green icon).
When you say you configured "triggers" do you mean items?

Also, configure SNMP to be version 2c, not v1... look at the "Latest data" link in the Monitoring section of Zabbix to see if Zabbix can pull SNMP data

Just so you know, I have a Cisco 2960 switch I'm monitoring with Zabbix and it's working fine...
Reply With Quote
  #6  
Old 25-01-2010, 14:06
Davvv Davvv is offline
Junior Member
 
Join Date: Jan 2010
Posts: 11
Thumbs up

Thanks you for your help ericgearhart.
It's working fine now, i change the snmp version on my items and on the cisco 2960. And i got all the informations on my zabbix server.
__________________
Davvv
System Administrator
Lyon FRANCE
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:00.