Help with graphing

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

Moderators: Developers, Moderators

Post Reply
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Help with graphing

Post by fiacchino »

When I go to my grach they do not load they are just the x and no picture can someone help?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Have you made sure that the poller has run at least 1 time?
[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]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Possibly you forgot to apply the security on cmd.exe too. I'd also suggest you read the guide in my signature.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

how do I give cmd.exe the security rights it needs?
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

When I run
C:\php>php c:\Inetpub\wwwroot\cacti\\poller.php

I get this

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)
Could not open input file: c:\Inetpub\wwwroot\cacti\poller.php.


can someone please help me?>
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Once again, I strongly suggest you read the guide in my signature. It addresses the problems you're having.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

I did follow it I didn't see anything about my problem in it is there something im missing?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Yes, several things

1) You didnt specify the proper path for the MIBSDIR system variable.
2) You didnt apply the proper security settings outlined in the guide to your cacti directory nor cmd.exe.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

where can I find your guide then I must be looking at the wrong thing I can't find anything about the security settings or MIBSDIR.

Can you please tell me where I can find your guide?

Thanks for your help!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

fiacchino wrote:Can you please tell me where I can find your guide?
BSOD2600 wrote:I'd also suggest you read the guide in my signature.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

Now I am getting

RRDTool Says:

The system cannot find the path specified.


I followed your doc and its still giviong me problems
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

No when I look in my Log I see

CMDPHP: Poller[0] Host[6] DS[15] WARNING: Result from SNMP not valid. Partial Result:

and
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

and
11/14/2005 11:36:09 AM - CMDPHP: Poller[0] ERROR: There are no RRA's assigned to local_data_id: 16.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

When I run

C:\apache2\htdocs\cacti>php poller.php

I get


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)
The system cannot find the path specified.
11/14/2005 12:39:03 PM - SYSTEM STATS: Time:2.2018 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:7 RRDsProcessed:4


Any ideas i followed the windows install doc all the way rights are all there i dont know what else to do.

I dont get graphs
There is nothing in my /rra folder but .placeholders I tryed the rrdtool from cacti.net and still nothing.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) the MIB errors are cause from you not properly specifying the correct path the the MIB files which live in your php directory. Once again, reread the set up guide. From the command prompt, type: set and paste the output.

2) The lack of rra files could mean you're not collecting any valid data or you have a permission problem which is preventing them from being created. Turn the logging level in cacti to debug for one cycle and manually run: php <cacti path>/poller.php. Paste the output.
fiacchino
Posts: 24
Joined: Fri Nov 11, 2005 3:48 pm

Post by fiacchino »

I got it to work thank you for your help.

C:\rrdtool was misspelled that was the whole problem
-LOL-
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests