SNMP error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cayassir
Posts: 5
Joined: Sat Oct 29, 2005 6:50 pm

SNMP error

Post by cayassir »

hi, I´ve been trying to install cacti for tow days now, and I still get the same results....

I´m using:

Apache 1.3.3 win 32
PHP 4.4.0 win32
Mysql4.0.26 win 32
net-snmp-5.2.2.pre1-1.win32
cacti-0.8.6g
ActivePerl-5.8.7.813-MSWin32-x86-148120
cacti-cactid-0.8.6f
rrdtool-1.0.49-win32-bin

I did everything it says in the instalation guide under windows....

it seems to work fine until I try to create a new host, I get this message SNMP error.. the screen I get is attached....

I don´t get any information in the SNMP cache... and this is what I have in the cacti log file:

10/30/2005 05:24:01 PM - SYSTEM STATS: Time:1.0154 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
10/30/2005 05:24:00 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled

I´m gettin desperate....

please I realy need to make it work as fast as is possible...[/list][/list]
Attachments
cacti error
cacti error
cacti.JPG (167.85 KiB) Viewed 2599 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Follow the windows guide in my signature
2) You MUST use the Cygwin RRDTool, NOT the Win32 one!
3) Try connecting to localhost with GetIF (google it) and see if you get any snmp info, I bet not. Check your AV and firewall settings to allow SNMP traffic. You did install the snmp service, right?
cayassir
Posts: 5
Joined: Sat Oct 29, 2005 6:50 pm

Post by cayassir »

I did what you say... still the same problem... when I run this script to test the snmp service "snmptranslate -IR -Td IF-MIB::linkDown", this is what I get:
Attachments
cacti2.JPG
cacti2.JPG (109.63 KiB) Viewed 2590 times
cayassir
Posts: 5
Joined: Sat Oct 29, 2005 6:50 pm

Post by cayassir »

and I run the GETif, like you said there is not snmp info for localhost.... but I don´t have any fiewall, i even uninstall the AntiVirus for now, and disconect the computer from the network.... what do you sugest I can do....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) You wanted to use snmpget or snmpwalk.
2) Getif didnt work on your local machine either? Is the SNMP service running? Did you specify a public community and/or limit who can connect to it ?
cayassir
Posts: 5
Joined: Sat Oct 29, 2005 6:50 pm

Post by cayassir »

I just executed the net-snmp-5.2.1.2-1.win32 and in the wizard, when it ask where I want to install I put the followin path: c:\net-snmp... I checked the System path and c:\net-snmp\bin s on it, I´m not sure how to start the service or to configure how many users can be.... Could you tell me what am I doing worng?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I've never installed the net-snmp service, so you'll have to read the manual/readme. I believe it should automatically install itself as a service though. If thats the case, then you must make sure the Microsoft SNMP Agent is not running.
cayassir
Posts: 5
Joined: Sat Oct 29, 2005 6:50 pm

Post by cayassir »

Man I did this:

- uninstall net-snmp.
- run the Microsoft SNMP Agent that was not runing.

and it worked fine.. my question is, why should I install the net-snmp.. or I don´t need it....

Thaks anyway....
myf
Posts: 10
Joined: Tue Oct 11, 2005 1:56 am

Post by myf »

may use the

php -m
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I find there is no reason to use the Net-SNMP SNMP agent if the Microsoft one is working fine. But you might need to use the net-snmp snmpwalk and snmpget tools either in cacti or by themselves for debugging.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Agreed. Net-SNMP is a development/validation tool and will add some speed to Cacti querying in the next point release.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest