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    


Routers with no sysDescr

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
williamm



Joined: 18 Feb 2005
Posts: 10

PostPosted: Mon Feb 21, 2005 8:07 am    Post subject: Routers with no sysDescr Reply with quote

Hi

I am trying to get SNMP data from a system (STAROS router) with no sysDescr defined. Here is what I get with "snmpwalk system" from this router:

# snmpwalk -v1 -c public 10.0.0.1 system
SNMPv2-MIB::sysUpTime.0 = Timeticks: (31224272) 3 days, 14:44:02.72
SNMPv2-MIB::sysContact.0 = STRING: Not Configured
SNMPv2-MIB::sysName.0 = STRING: router
SNMPv2-MIB::sysLocation.0 = STRING: Not Configured

It seems that Cacti consider a host is down if it don´t have sysDescr and if this host is detected down, it´s not polled. I can´t change also the Downed Host Detection to UDP Ping since some of routers don´t work with it.

Is there any way to get this device polled via SNMP even with no sysDescr defined?
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5379
Location: Wisconsin, USA

PostPosted: Mon Feb 21, 2005 8:38 am    Post subject: Reply with quote

Can you set a Sys Description?
Back to top
williamm



Joined: 18 Feb 2005
Posts: 10

PostPosted: Mon Feb 21, 2005 8:53 am    Post subject: Reply with quote

No I can´t. This is a Wireless Operating System/Router (www.staros.com) so manufacturer does not define System Description and SNMP is not configurable to put this manually.
Back to top
gninja
Cacti User


Joined: 24 Aug 2004
Posts: 286
Location: San Francisco, CA

PostPosted: Tue Feb 22, 2005 1:58 pm    Post subject: Reply with quote

Do you have a box that runs snmpd that you can proxy through?

http://www.net-snmp.org/docs/man/snmpd.conf.html

Unless you want to hack apart the code, that's your best bet. Proxy the oids you need. If they overlap with oids on the proxy host that you need, map then to new oids, or alternately run a second snmpd on a different port.
Back to top
wireless



Joined: 01 Mar 2005
Posts: 1

PostPosted: Tue Mar 01, 2005 5:14 am    Post subject: STAR-OS Reply with quote

We've just gone through this issue on our fbsd box.

Anything after 8.6 (8.6a>)will break the snmp polling to star-os boxes.

Make the mistake of allowing portupgrade to do it thing. It upgraded cacti to 8.6.c which broke the snmp polling. Tried upgrading to 6d but no joy.

Ended up toasting the mysql DB and starting from scratch with 8.6 and this were things will stay until I hear this issue is resolved .
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9257
Location: MI, USA

PostPosted: Tue Mar 01, 2005 6:01 am    Post subject: Reply with quote

You can change the item for snmp availability to SysUptime by changing the OID in ping.php around line number 194, you will find the following:

".1.3.6.1.2.1.1.1.0"

You need to change it to:

".1.3.6.1.2.1.1.3.0"

This should fix things up. I will likely make this change moving forward as SysUptime is more common.

To make this change in cactid is about the same, just look for the text above, change it and re=make.

TheWitness
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5379
Location: Wisconsin, USA

PostPosted: Mon Mar 07, 2005 12:56 pm    Post subject: Reply with quote

I have "Stickied" this post, because it is becoming more apparent that more and more people are having problems with this issue.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9257
Location: MI, USA

PostPosted: Sat Mar 12, 2005 5:31 pm    Post subject: Reply with quote

There is a patch to 0.8.6c that utilizes sysUptime instead of sysDesc for future reference. A update for cactid will be available soon.

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group