Routers with no sysDescr
Moderators: Developers, Moderators
Routers with no sysDescr
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?
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Can you set a Sys Description?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
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.
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.
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.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
STAR-OS
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 .
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 .
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
".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
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?
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I have "Stickied" this post, because it is becoming more apparent that more and more people are having problems with this issue.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Who is online
Users browsing this forum: No registered users and 3 guests