Graphs Hanging and Module not Found Error

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

Moderators: Developers, Moderators

Post Reply
dforsdike
Posts: 5
Joined: Tue Nov 16, 2004 3:14 pm

Graphs Hanging and Module not Found Error

Post by dforsdike »

Hi

After testing Cacti on a my Windows Xp workstation, i decided to install cacti on a windows 2003 server.

Win 2003
Cacti 8.6b + pre 8.6c patch files
Mysql 4.0.21
IIS 6
PHP 5.0

There are 2 issues that are occuring:

1. When Cacti is set up to use cmd.php the graphs are updated but when trying to view the graphs they hang on the screen and the grapohs do not appear. The web page does not fully load , if you click another button on the web page the graph is seen quickly and then disappears agian. I have tried this from various other client machines and the server itself but the issue is the same.

2. When i configure Cacti to use cactid v0.8.6.c the displaying graph issue is resolved but the graphs are not updated.
The log file states module not found for the MIBS which i am thinking is the issue, i have a enviroment variable of MIBSDIR=c:\php\mibs with the relevant MIb files contained in it.

At this stage i do not mind which option i use has anybody any ideas in a resolution?

The cactid log file is below

C:\Cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: DEBUG: The path_php_server variable is c:\Inetpub\wwwroot\cacti\cacti-0.
8.6b/script_server.php
CACTID: DEBUG: The path_cactilog variable is C:\Inetpub\wwwroot\cacti\cacti-0.8.
6b/log/cacti.log
CACTID: DEBUG: The log_destination variable is 1
CACTID: DEBUG: The path_php variable is c:/php/php-win.exe
CACTID: DEBUG: The availability_method variable is 2
CACTID: DEBUG: The ping_recovery_count variable is 3
CACTID: DEBUG: The ping_failure_count variable is 2
CACTID: Windows Environment, root permissions not required for ICMP Ping
CACTID: DEBUG: The ping_method variable is 2
CACTID: DEBUG: The ping_retries variable is 1
CACTID: DEBUG: The ping_timeout variable is 400
CACTID: DEBUG: The log_perror variable is 1
CACTID: DEBUG: The log_pwarn variable is 1
CACTID: DEBUG: The log_pstats variable is 1
CACTID: DEBUG: The threads variable is 10
CACTID: CACTID: Version 0.8.6c starting
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
No log handling enabled - turning on stderr logging
IP-MIB: Module not found
IF-MIB: Module not found
TCP-MIB: Module not found
UDP-MIB: Module not found
HOST-RESOURCES-MIB: Module not found
SNMPv2-MIB: Module not found
RFC1213-MIB: Module not found
SNMPv2-SMI: Module not found
NOTIFICATION-LOG-MIB: Module not found
UCD-SNMP-MIB: Module not found
UCD-DEMO-MIB: Module not found
SNMP-TARGET-MIB: Module not found
NET-SNMP-AGENT-MIB: Module not found
SNMP-VIEW-BASED-ACM-MIB: Module not found
SNMP-COMMUNITY-MIB: Module not found
UCD-DLMOD-MIB: Module not found
SNMP-FRAMEWORK-MIB: Module not found
SNMP-MPD-MIB: Module not found
SNMP-USER-BASED-SM-MIB: Module not found
SNMP-NOTIFICATION-MIB: Module not found
SNMPv2-TM: Module not found
CACTID: DEBUG: PHP Script Server Routine Started
CACTID: DEBUG: PHP Script Server About to FORK Child Process
CACTID: DEBUG: PHP Script Server Child FORK Success
CACTID: DEBUG: Confirmed PHP Script Server Running
CACTID: DEBUG: Initial Value of Active Threads is 0
CACTID: DEBUG: Valid Thread to be Created
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: The Value of Active Threads is 1
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: Host[2] SNMP Result: Host responded to SNMP
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status
_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_la
st_error='',min_time='5.000110',max_time='338.010000',cur_time='5.000110',avg_ti
me='41.493569',total_polls='33',failed_polls='0',availability='100.0000' where i
d='2'

CACTID: Host[2] RECACHE: Processing 1 items in the auto reindex cache for '192.1
68.5.10'
CACTID: Host[2] SNMP: v1: 192.168.5.10, dsname: Aironet_Assoc, oid: .1.3.6.1.4.1
.9.9.273.1.1.2.1.1.1, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (19,'Aironet_Assoc','2004-11-16 20:09:47','0')
CACTID: Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function

CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: Valid Thread to be Created
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: DEBUG: The Value of Active Threads is 2
CACTID: Host[3] SNMP Result: Host responded to SNMP
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status
_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_la
st_error='',min_time='3.000020',max_time='126.730000',cur_time='3.999950',avg_ti
me='17.479302',total_polls='32',failed_polls='0',availability='100.0000' where i
d='3'

CACTID: Host[3] SNMP: v1: 192.168.5.11, dsname: Aironet_Assoc, oid: .1.3.6.1.4.1
.9.9.273.1.1.2.1.1.1, value: 4294967295
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (22,'Aironet_Assoc','2004-11-16 20:09:47','4294967295')
CACTID: Host[3] WARNING: Result from SNMP not valid. Partial Result: U...
CACTID: Host[3] SNMP: v1: 192.168.5.11, dsname: assoc_clients, oid: .1.3.6.1.4.1
.522.3.12.1.8.0, value: U
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (20,'assoc_clients','2004-11-16 20:09:47','U')
CACTID: Host[3] WARNING: Result from SNMP not valid. Partial Result: U...
CACTID: Host[3] SNMP: v1: 192.168.5.11, dsname: observed_clients, oid: .1.3.6.1.
4.1.522.3.12.1.7.0, value: U
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (21,'observed_clients','2004-11-16 20:09:47','U')
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: Valid Thread to be Created
CACTID: Host[3] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function

CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: DEBUG: The Value of Active Threads is 3
CACTID: Host[4] SNMP Result: Host responded to SNMP
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status
_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_la
st_error='',min_time='1.999860',max_time='219.280000',cur_time='2.000090',avg_ti
me='30.601687',total_polls='23',failed_polls='0',availability='100.0000' where i
d='4'

CACTID: Host[4] RECACHE: Processing 2 items in the auto reindex cache for 'Lab71
17'
CACTID: Host[4] SERVER: C:\Inetpub\wwwroot\cacti\cacti-0.8.6b\scripts\ss_host_di
sk.php ss_host_disk Lab7117 QSASECURE 1 4 get total 2, output: 18202509312
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (15,'hdd_total','2004-11-16 20:09:47','18202509312')
CACTID: DEBUG: In Poller, About to Start Polling of Host
CACTID: DEBUG: Valid Thread to be Created
CACTID: MYSQL: Connecting to MySQL database 'cacti' on '127.0.0.1'...
CACTID: DEBUG: The Value of Active Threads is 4
CACTID: Host[4] SERVER: C:\Inetpub\wwwroot\cacti\cacti-0.8.6b\scripts\ss_host_di
sk.php ss_host_disk Lab7117 QSASECURE 1 4 get used 2, output: 12893339648
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (15,'hdd_used','2004-11-16 20:09:47','12893339648')
CACTID: Host[5] SNMP Result: Host responded to SNMP
CACTID: DEBUG: SQLCMD: update host set status='3',status_event_count='0', status
_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_la
st_error='',min_time='6.000040',max_time='9.999990',cur_time='6.999970',avg_time
='7.199994',total_polls='5',failed_polls='0',availability='100.0000' where id='5
'

CACTID: Host[4] SERVER: C:\Inetpub\wwwroot\cacti\cacti-0.8.6b\scripts\ss_host_di
sk.php ss_host_disk Lab7117 QSASECURE 1 4 get total 6, output: 536346624
CACTID: Host[5] RECACHE: Processing 1 items in the auto reindex cache for '192.1
68.0.2'
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (16,'hdd_total','2004-11-16 20:09:47','536346624')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.1, value: 847157156
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (23,'traffic_in','2004-11-16 20:09:47','847157156')
CACTID: Host[4] SERVER: C:\Inetpub\wwwroot\cacti\cacti-0.8.6b\scripts\ss_host_di
sk.php ss_host_disk Lab7117 QSASECURE 1 4 get used 6, output: 460849152
CACTID: DEBUG: The Value of Active Threads is 3
CACTID: DEBUG: The Value of Active Threads is 2
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (16,'hdd_used','2004-11-16 20:09:47','460849152')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.1, value: 1546529162
CACTID: Host[4] DEBUG: The POPEN returned the following File Descriptor 11
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (23,'traffic_out','2004-11-16 20:09:47','1546529162')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.2, value: 0
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (24,'traffic_in','2004-11-16 20:09:47','0')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.2, value: 0
CACTID: Host[4] ERROR: Empty result [Lab7117]: 'perl C:/Inetpub/wwwroot/cacti/ca
cti-0.8.6b/scripts/w32_sql_query_memory.pl Lab7117'
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (24,'traffic_out','2004-11-16 20:09:47','0')
CACTID: Host[4] WARNING: Result from SCRIPT not valid. Partial Result: U...
CACTID: Host[4] SCRIPT: perl C:/Inetpub/wwwroot/cacti/cacti-0.8.6b/scripts/w32_s
ql_query_memory.pl Lab7117, output: U
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (17,'','2004-11-16 20:09:47','U')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.19, value: 0
CACTID: Host[4] SNMP: v1: Lab7117, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.1
0.65539, value: 3316360837
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (25,'traffic_in','2004-11-16 20:09:47','0')
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (18,'traffic_in','2004-11-16 20:09:47','3316360837')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.19, value: 0
CACTID: Host[4] SNMP: v1: Lab7117, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.
16.65539, value: 3182215929
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (25,'traffic_out','2004-11-16 20:09:47','0')
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (18,'traffic_out','2004-11-16 20:09:47','3182215929')
CACTID: Host[4] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function

CACTID: DEBUG: The Value of Active Threads is 1
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.20, value: 1771898806
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (26,'traffic_in','2004-11-16 20:09:47','1771898806')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.20, value: 2890310622
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (26,'traffic_out','2004-11-16 20:09:47','2890310622')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.21, value: 343279130
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (27,'traffic_in','2004-11-16 20:09:47','343279130')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.21, value: 1830563962
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (27,'traffic_out','2004-11-16 20:09:47','1830563962')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2
.1.10.22, value: 2621955592
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (28,'traffic_in','2004-11-16 20:09:47','2621955592')
CACTID: Host[5] SNMP: v2: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.
2.1.16.22, value: 911121842
CACTID: DEBUG: SQLCMD: insert into poller_output (local_data_id,rrd_name,time,ou
tput) values (28,'traffic_out','2004-11-16 20:09:47','911121842')
CACTID: Host[5] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function

CACTID: DEBUG: The Value of Active Threads is 0
CACTID: DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
CACTID: DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time)
values (0, NOW(), NOW())
CACTID: DEBUG: Thread Cleanup Complete
CACTID: DEBUG: PHP Script Server Shutdown Started
CACTID: DEBUG: PHP Script Server Pipes Closed
CACTID: DEBUG: Allocated Variable Memory Freed
CACTID: DEBUG: MYSQL Free & Close Completed
CACTID: Execution Time: 2.2680 s, Threads: 10, Hosts: 4
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

1) Set the system environment variable:

MIBSDIR=c:\???\mibs (Read the install documenation)

2) Upgrade to PHP 5.0.2

It looks as though the Script Server is hanging.

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?
Guest

Post by Guest »

Thanks for the reply, i double checked and i am running php version 5.0.2 and i also have the MIBSDIR enviroment variable entered correctly.

I have reverted back to the Cactid config and have it working i think , instead of using 127.0.0.1 as the hostname i changed it to the hostname of the server, not sure whether this was more coincidence rather than the fix

Although when running Cactid manually from the command line i still get the same module not found error to mibs that i have present in the c:\php\mibs directory and a Enviroment variable pointing to it?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Go into the c:\net-snmp\etc\snmp\ edit the snmp.conf file and remove all but the MIBDIRS entry. Also, please not MIBDIRS not MIBSDIR. I need glasses.

Larry
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