Graphs not functioning

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

Moderators: Developers, Moderators

Post Reply
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Graphs not functioning

Post by Joeboo »

I am recieving the notorious red Xs. I'm not sure where to set the MIBDIRS. This is what I see in my poller cache:
Data Source: Localhost - Memory - Free
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\rra\localhost_users_6.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_processes.pl
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\rra\localhost_snmp_oid_8.rrd
Action: 0, OID: (Host: 127.0.0.1, Community: public)




Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none)
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Case Update

Post by Joeboo »

I created a path for MIBDIRS and I'm not getting the errors anymore. Here is the current poller cache:

Data Source: Localhost - Memory - Free
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\rra\localhost_users_6.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_processes.pl
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\rra\localhost_snmp_oid_8.rrd
Action: 0, OID: (Host: 127.0.0.1, Community: public)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

All those scripts are designed to run on Linux, not windows.. :)

Try setting up a switch or router and disable localhost.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

I'm getting the same response from a Cisco Switch.

Post by Joeboo »

Data Source: Localhost - Memory - Free
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\rra\localhost_users_6.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_processes.pl
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\rra\localhost_snmp_oid_8.rrd
Action: 0, OID: (Host: 127.0.0.1, Community: public)
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

I'm getting data, but no graph

Post by Joeboo »

Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifSpeed, Field Value: 100000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifHwAddr, Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifOperStatus, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIndex, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifDescr, Field Value: FastEthernet0/1
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: Default Gateway, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifName, Field Value: Fa0/1
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you add any graphs to the cisco switch? Have you read the manual?

Please read the manual concerning creating basic interface graphs.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Graphs not functioning

Post by Joeboo »

Yes, I have added several graphs. They show up when I select the device and indicate they are not functioning.
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Graphs Not Working

Post by Joeboo »

Here are the graphs. Cacti2.rtf looks interesting.
Attachments
Cacti1.ZIP
(141.61 KiB) Downloaded 102 times
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Post by Joeboo »

I ran the php poler command in the cacti directory and all I recieved was:

Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

This is interesting

Post by Joeboo »

C:\Inetpub\wwwroot>php poller.php
06/02/2005 03:33:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Joeboo
Posts: 32
Joined: Thu Jun 02, 2005 7:12 am

Running the windows version of Cacti

Post by Joeboo »

I'm running the Windows version of cacti, everything seems to by running OK, why do I need Cygwin. The only thing that does not seem to operate properly is the poller.php file. Am I looking at this wrong?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

From past experience... You will run much better with cygwin... That's what TheWitness tell me, and he's the Windows dude.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest