Update problem for 0.8.6g -> 0.8.6h

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

Moderators: Developers, Moderators

User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Update problem for 0.8.6g -> 0.8.6h

Post by dust2k »

Got new version zip format for windows platform, uncompress it then open Upgrade file, follow the steps,

1.backup database ....

up to end, everything looks fine, copy all script and rrd files, copy extra pl , xml file from /resource folder, then point to site, click net, select update, next screen show all tables successful, then all binary and path are correct, then finish.

login, all graphs are fine except windows 2000 box disk graphs, all disk graphs are not available, turn on debug mode, found all capture data still there, but just don't show any graphs. I am using http://forums.cacti.net/viewtopic.php?t=10707 Windows 2000 / 2k3 Disk Statistics, anyone have idea what's wrong ?
Last edited by dust2k on Sun Jan 08, 2006 12:07 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well are the scripts returning data and is cacti putting it into the rrd files?
User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Post by dust2k »

BSOD2600 wrote:Well are the scripts returning data and is cacti putting it into the rrd files?
the scripts returning data and cacti putting into the rrds, because I compared the old rrd with new rrd files and they are different, I believe that's script's problem, somebody else report the same error on the script thread.
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

I am experiencing the same issue since updating. I get this response when doing the verbose query,

y Debug Information
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'D:/path to cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.1.1.1.1'
+ No SNMP data returned
+ Found data query XML file at 'D:/Webdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at 'D:/Webdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'
+ Found data query XML file at 'D:/Webdocs/cacti/resource/snmp_queries/snmp_informant_disk.xml'


I am also having a problem with the standard "SNMP - Get Processor Information", when this is active the Poller stops when it tries to get this info. A verbose query of this gives,
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at 'D:/Webdocs/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'D:\php\php-win.exe -q D:\path to cacti\scripts\ss_host_cpu.php server1.domain.com 3 2:161:500:f1:::MD5::[None] index'
+ Executing script query 'D:\php\php-win.exe -q D:\path to cacti\scripts\ss_host_cpu.php server1.domain.com 3 2:161:500:f1:::MD5::[None] query index'
+ Found data query XML file at 'D:/path to cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/path to cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/path to cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/path to cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'D:/path to cacti/resource/script_server/host_cpu.xml'

Any ideas,
Thanks
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

PS

All of the other queries and graphs work correctly,

Host MIB - Logged in Users
Host MIB - Processes
IIS5 - WWW Connections
W32 - Get Memory (2000)
SNMP - Interface Statistics
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Try installing the patches for cacti 0.8.6h
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

Any instructions for patching on a Windows 2000 machine?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

nuinco wrote:Any instructions for patching on a Windows 2000 machine?
Hi

you can get the pre-patched files here : http://www.cacti.net/downloads/patches/ ... e-patched/
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

Thanks for the links.

I applied those fixes but it did not change anything.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Use either GetIF or net-snmp snmpwalk and look at .1.3.6.1.4.1.9600.1.1.1.1. Does it return anything?

Manually run D:\php\php-win.exe -q D:\path to cacti\scripts\ss_host_cpu.php server1.domain.com 3 2:161:500:f1:::MD5::[None] query index. Does it return anything?
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

If I do
snmpwalk server1.domain.com -m .1.3.6.1.4.1.9600.1.1.1.1
Not sure usage is correct here.

I get
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
-m: (Sub-id not found: (top) -> -m)


If I manually run,
D:\php\php-win.exe -q D:\path to cacti\scripts\ss_host_cpu.php server1.domain.com 3 2:161:500:f1:::MD5::[None] query index.

It returns several command windows but too quickly to see what is in them.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Well if snmpwalk does not return anything for .1.3.6.1.4.1.9600.1.1.1.1 , you dont have snmp informant properly installed.

2) When you ran the ss_host_cpu.php script, you did it initially from the command prompt, right? Try starting the php script server first then running ss_host_cpu.php ss_host_cpu server1.domain.com 3 2:161:500:f1:::MD5::[None] index
nuinco
Posts: 26
Joined: Mon Sep 26, 2005 3:35 pm

Post by nuinco »

That helped me figure it out. My SNMPBulkWalk.exe path was not complete. Was this new in this version?

Thanks for the time.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yes it was. It should've automatically filled it out for you, assuming you're using the default path.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests