[SOLVED] Generic SNMP host template fails

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

Moderators: Developers, Moderators

Post Reply
cpratt
Posts: 5
Joined: Fri Apr 04, 2008 4:46 pm

[SOLVED] Generic SNMP host template fails

Post by cpratt »

Any devices that I try and setup using the Generic SNMP-Host template fails. Cacti as a whole is working. I can gather localhost information as well as information from remote HP servers using an HP Prolient template I found. But when I try and gather info from 3com switches, it fails and seems to almost crash the Cacti site. I have to close out of my browser and open it back up.

IE reports the page generated an error in host.php on line 563 with Error: Not implemented.

It worked on a linux box, but the move to Windows has proven it to not work. I've done both a manual install, as well as installing the cacti-0.8.7b.1.8.exe installer.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) read http://forums.cacti.net/viewtopic.php?t=11747 and repost.

2) the Generic SNMP host template itself isn't failing -- it's simply a collection of generic data input methods which work on most snmp enabled devices.
cpratt
Posts: 5
Joined: Fri Apr 04, 2008 4:46 pm

Post by cpratt »

Ok, sorry about that, lets try this again:

Operating System: Server 2003 R2 SP2
Webserver: IIS 6
Cacti: 0.8.7b
Spine: Whatever came in your .exe installer
MySQL: Whatever came in your .exe installer
PHP: Whatever came in your .exe installer
RRDTool (Cygwin or Win32 version): Whatever came in your .exe installer
Net-SNMP: Whatever came in your .exe installer
Cygwin (cygwin1.dll version): Whatever came in your .exe installer
Plugin Architecture: Whatever came in your .exe installer

I've gone through all the troubleshooting links you've posted. Have done a manual install as well as used your installer (which is very nice I might add). I'm not having an issue where no RRD files are being created. Just when I'm adding our 3com switches using the Generic SNMP-enabled device.

I had cacti working with our HP servers before I tried a clean slate, and have had the 3com's working with cacti installed in Linux.
Attachments
cacti.txt
(235.82 KiB) Downloaded 252 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) What specific problem are you having with the 3com devices?
2) do you see their system uptime in the top left corner of cacti?
3) What is the 3com devices host id? Look for that number in the cacti.log file for details whats going on.
cpratt
Posts: 5
Joined: Fri Apr 04, 2008 4:46 pm

Post by cpratt »

BSOD2600 wrote:1) What specific problem are you having with the 3com devices?
2) do you see their system uptime in the top left corner of cacti?
3) What is the 3com devices host id? Look for that number in the cacti.log file for details whats going on.
1) The specific problems are I can't get RRD files created only for the switches. I see all the switchports in the SNMP cache, no RRD files are created, and the page won't load when I try and add a device. I can't do a verbose query on the switches, but verbose query's work on other devices. The device also won't show up as online, only unknown.

2) Yes, I see the uptime, description, location, contact information etc. Also, as I stated above, the SNMP cache is full of the switchports and their information.

3) I don't know that the device is actually being added properly. When I add a device, IE times out and just gives a blank page. I don't see any mention of the device or it's ID throughout the logs.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Increase the memory and timeout values in your php.ini. restart the web server. Does this device have lots of interfaces or high latency? Also increase the timeout to that device.

Follow the debugging NaN guide in that first post I linked.
cpratt
Posts: 5
Joined: Fri Apr 04, 2008 4:46 pm

Post by cpratt »

Thank you, I will mess with memory and timeout values. The device is actually a 3com stack, 3 48 port switches, so there are quite a few ports.
cpratt
Posts: 5
Joined: Fri Apr 04, 2008 4:46 pm

Solved

Post by cpratt »

Thank you BSOD. Increasing the memory in php.ini from the recommended 64mb to 128mb as well as the timeout from 60 to 90 worked.

Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests