I have cacti installed on a Win2k Server and it is running ok. Now here is my problem. I have MRTG running every 5 mins creating rrd files now I would like to use cacti to graph the data. I tried adding a data source pointing to that rrd file but nothing happens. Graphs aren't showing up meaing blank picture. Can some help me out on th right way is to import all these rrd files into cacti.
Thanks
--Todd
MRTG RRD Graphs
Moderators: Developers, Moderators
You should be able to configure cacti to see the datasources/rras in those RRDs by manually adding the ds's, the RRA's (if they're different from cacti's default), the graphs, and the graph_items.
After you've done this, in the "edit graph_items" page, turn on the output preview. What does this say?
Not sure if it would work on windows, but if you have perl loaded, you can use cacti_inject to automatically import your RRDs into cacti.
http://www.birch.net/~spiegela/cacti_inject
for more info on cacti_inject check dis out
http://www.raxnet.net/board/viewtopic.php?t=655
Let me know if it works on windows or not. If not (and if you're interested), let me know the error, and I'll try to fix it so its more platform independent.
Aaron
After you've done this, in the "edit graph_items" page, turn on the output preview. What does this say?
Not sure if it would work on windows, but if you have perl loaded, you can use cacti_inject to automatically import your RRDs into cacti.
http://www.birch.net/~spiegela/cacti_inject
for more info on cacti_inject check dis out
http://www.raxnet.net/board/viewtopic.php?t=655
Let me know if it works on windows or not. If not (and if you're interested), let me know the error, and I'll try to fix it so its more platform independent.
Aaron
I added the rrd file but here is where I am running into trouble when adding the Internal Data Source Name how can I tell exactly what this is because when I turn on the preview this is what I get.
ERROR: No DS called 'Test_Free_Commit' in 'd:/mrtg/test/logs/win2ksfs121_free_commit.rrd'
Thanks
--Todd
ERROR: No DS called 'Test_Free_Commit' in 'd:/mrtg/test/logs/win2ksfs121_free_commit.rrd'
Thanks
--Todd
Help with Cacti and PHP on win2k
Hi all,
Please help.
I followed the instructions to setup the Cactia and PHP I receceived this error message when I ran the php.exe command.
D:\php>php.exe d:\inetpub\wwwroot\cacti\cmd.php
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)
'w' is not recognized as an internal or external command,
operable program or batch file.
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)
awk: cmd. line:1: '{print
awk: cmd. line:1: ^ invalid char ''' in expression
The system cannot find the path specified.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
ERROR: expected 1 data source readings (got 0) from sorry,:...
'cat' is not recognized as an internal or external command,
operable program or batch file.
X-Powered-By: PHP/4.2.3
Content-type: text/html
Any advices,
Steve
Please help.
I followed the instructions to setup the Cactia and PHP I receceived this error message when I ran the php.exe command.
D:\php>php.exe d:\inetpub\wwwroot\cacti\cmd.php
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)
'w' is not recognized as an internal or external command,
operable program or batch file.
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)
awk: cmd. line:1: '{print
awk: cmd. line:1: ^ invalid char ''' in expression
The system cannot find the path specified.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
'cat' is not recognized as an internal or external command,
operable program or batch file.
ERROR: expected 1 data source readings (got 0) from sorry,:...
'cat' is not recognized as an internal or external command,
operable program or batch file.
X-Powered-By: PHP/4.2.3
Content-type: text/html
Any advices,
Steve
The "*-MIB" messages looks similar to this:
http://www.raxnet.net/board/viewtopic.p ... hlight=mib
Flux
http://www.raxnet.net/board/viewtopic.p ... hlight=mib
Flux
No more error but no graphs
Thanks for the reply.
After removing those default templates and those errors went away. I bet those perl scripts only work Unix and Apache.
Now, it is running without those errors, I still can not see those graphs.
Here is my configuration:
Win2k w/ sp3
Active Perl 5.6
php-4.2.3
mysql-max-3.23.53
Cacti-0.6.8.a
Rrdtool
I am running mrtg and 14all.cgi on this machine without any problems.
I wanted to utilize the Mysql to store those data and Cacti for user management.
Any ideas
Thanks,
Steve
After removing those default templates and those errors went away. I bet those perl scripts only work Unix and Apache.
Now, it is running without those errors, I still can not see those graphs.
Here is my configuration:
Win2k w/ sp3
Active Perl 5.6
php-4.2.3
mysql-max-3.23.53
Cacti-0.6.8.a
Rrdtool
I am running mrtg and 14all.cgi on this machine without any problems.
I wanted to utilize the Mysql to store those data and Cacti for user management.
Any ideas
Thanks,
Steve
Who is online
Users browsing this forum: No registered users and 1 guest