adding devices very slow

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

Moderators: Developers, Moderators

Post Reply
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

adding devices very slow

Post by wijs2 »

Hi,

I just installed a fresh cacti installation. But now I'm running into some problems. Here is my situation.

Server config:
MySQL Server version: 5.0.41-community-nt
MySQL client version: 5.0.37
PHP: Version 5.2.3
Cacti: 0.8.6j
RRDTool: rrdtool-1.2.15-win32-perl58.zip from http://oss.oetiker.ch/rrdtool/pub/?M=D
Net-SNMP: net-snmp-5.4.0-1.win32.exe from http://net-snmp.sourceforge.net/download.html
OS: Windows Server 2003 Enterprise SP2
Webserver: IIS6

As because the rest is optional I didn't use it. It should work with this config.

What is my problem?

Adding devices takes forever and when it is "finished" it only shows a blank page of host.php.

How to fix this?

Grt
MW
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Did you install Net-SNMP ? This should ideally be installed - you probably won't be able to walk SNMP OID's without it.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Actually net-snmp binaries are only really needed on linux systems or if you don't have the php-snmp module enabled.

Does the device you're adding respond to snmp or icmp? Could be cacti is timing out trying to reach it. Another possible problem is improper NTFS permissions on all the various cacti related files. Look in the FAQ, in my installation guide (in signature) for what files/folders need set.
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

Well, I already did a check on the NTFS permissions. It seems to be some kind of time out issue because when you close the browser and login again the device is present in the list.

The device are reachable via SNMP.
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

Okay, did a recheck on the recheck. All NTFS permissions are set as described.

When adding a device I get a blank host.php. Then when I click on Back in my Browser I'm presented with a blank "Devices [new]" screen.

Also when clicking on "Devices" the previously added device is present in the device listing. So device adding process is adding the device but not redirecting me back to...."Devices [new]" or "Devices" screen??? (this never worked so I don't know where this page should go to) :D
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Did you install Net-SNMP ? This should ideally be installed - you probably won't be able to walk SNMP OID's without it.

Also, did you enable sockets support in PHP ? There is a default 30 second timeout in PHP. If CACTI is unable to see the device (either SNMP is not enabled, or Net-SNMP not installed / no socket support), then you will get this blank screen.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
pshankland
Cacti User
Posts: 247
Joined: Fri Dec 31, 2004 7:07 am
Location: UK

Post by pshankland »

I am getting the same problems with a clean install.

Was there any fix for this?

THanks.
wijs2
Posts: 21
Joined: Fri Jun 08, 2007 5:35 am
Location: The Netherlands
Contact:

Post by wijs2 »

What I eventually did was switching to cactid.

Also what I found was a directory on my c-drive form net-snmp that I missed. The reason of missing this directory is because I installed everything on my e-drive instead of the c-drive. The installer of net-snmp annoyingly also puts a dir on c.

So check NTFS permissions, paths and swith to cactid.
[size=75]Cacti: [color=darkred]0.8.6j[/color][/size]
[size=75]Cactid: [color=darkred]cactid-086preJ-cygwin-1.5.24-2[/color][/size]
[size=75]Cygwin (cygwin1.dll version): [color=darkred]1.5.24-2[/color][/size]
[size=75]MySQL: [color=darkred]mysql-5.0.41-win32[/color][/size]
[size=75]Net-SNMP: [color=darkred]net-snmp-5.4.0-1.win32[/color][/size]
[size=75]Operating System: [color=darkred]MS WS 2003 Ent. SP2 [Version 5.2.3790][/color][/size]
[size=75]PHP: [color=darkred]php-5.2.3-win32[/color][/size]
[size=75]RRDTool: [color=darkred]rrdtool-1.2.15-cygwin-1.5.20[/color][/size]
[size=75]Perl: [color=darkred]ActivePerl-5.8.8.820[/color][/size]
[size=75]Webserver: [color=darkred]IIS V6.0[/color][/size]
[size=75]*** Plugins ***[/size]
[size=75][color=darkred]thold-0.3.4[/color][/size]
User avatar
pshankland
Cacti User
Posts: 247
Joined: Fri Dec 31, 2004 7:07 am
Location: UK

Post by pshankland »

Thanks, seems to have been because I didn't have the correct NTFS rights set on D:\Net-SNMP.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests