[resolved] SNMP error but snmp working !

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Freudo
Posts: 6
Joined: Wed Mar 02, 2005 4:59 am

[resolved] SNMP error but snmp working !

Post by Freudo »

Hi everybody
I have been using cacti for one year and it worked fine but now, i'm having a little problem.
My society bought Nport Boxes from Moxa, which have SNMP support.
When I create a device as "Generic SNMP Host", it tells me SNMP error whereas it manages to get the number of interfaces. So i click "create graphs for this host" but nothing is created and i think that's caused by "SNMP error". I have noticed that when i try getting the SysDescr OID, the value is not set. Maybe that's why i have this error. I am able to get interface traffic by command line doing a snmpget
does anyone know how to fix my SNMP error or to get the graphs working ?
thank you in advance
Fred
Attachments
Capture.png
Capture.png (155.34 KiB) Viewed 2113 times
Last edited by Freudo on Wed Mar 02, 2005 12:03 pm, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

If you know for sure that SNMP is working on the device, then the device probably does not have a .iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0 on it.

If that is true, then you will have problems with Cacti thinking the device is down as well.

To test this, run the following from a commandline.

Code: Select all

snmpwalk -v1 -c <SNMP Community> <Host> .1.3.6.1.2.1.1
That should return the System information from the SNMP agent.

Also, this might simply be that the SNMP agent does not allow communications from where you are running cacti.
[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]
Freudo
Posts: 6
Joined: Wed Mar 02, 2005 4:59 am

Post by Freudo »

yes you're right, i can't do a snmpget on SysDescr value but i can collect data from interfaces...
the probleme is that Cacti considers my host down since it doesn't have SysDescr set.
i am looking for a tip in cacti sources do make it always consider a host up
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

It has been decided that the next version of Cacti will not use SysDecr, but use SysUptime to detect hosts.

Please refer to post http://forums.cacti.net/viewtopic.php?p=26135.
[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]
Freudo
Posts: 6
Joined: Wed Mar 02, 2005 4:59 am

Post by Freudo »

ok now it works
i changed the OID used in ping.php and in host.php by the uptime one.
thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests