Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
The cacti installation lives under C:\wampp13a\htdocs\monitoring and
apache and php are configured properly so far.
The only file i can see in the monitoring\rra folder is .placeholder.
Okay,
I finally realized, (With some MAJOR digging in the forums) why I am getting that "cannot find data" message and subsequently not getting any of the default graphs. Cacti is not creating the rrd files because the scripts need perl installed(seperate download) and the scripts are for unix only.
Correct so far?
My only question is, is there a nice little generic script that i can put into cacti so that I can verify that everything is working?
I paln on having someone experienced with perl to write some real scripts, but I wanted to verify that everthing is ship-shape before having him come out and do his thing.
I found out something new. With Apache2 the default install goes into 'C:\program files". Apparently, rrdtool.exe is unable to read the spaces in the path name. so I added quotes to the document root in cacti settings, and badda-bing the rra folder is populated.
Okay,
I don't think anyone is really listening at all. Probably because I ramble on like an idiot about things that have already been covered millions of times before SO, I decided to once again take things into my own hands. I started from scratch, and this time I didn't just accept the defaults when installing Apache2. I installed it onto the root of c: (just like the insturctions say) and viola!! I have Graphs. They are blank, which I am guessing is because the default scripts only work in linux. (Someone PLEASE tell me if this is otherwise )
Most of the provided scripts that came with Cacti are Unix specific. In order for them to work in a Win32 environment, you're gonna need to download and install a few more programs.
Thank you Flux for your helpful link to that message thread.
I downloaded and installed ActiveState Perl and Cygwin. Added a few path statments copied the contents of the c:\php\mibs folder to c:\usr\mibs.That takes care of the PHP errors.
Things are progressing nicely, the only problem now is adding SNMP interfaces I get the following errors:
Warning: snmpwalkoid() [function.snmpwalkoid]: No response from tech-netmon-01 in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 69
Warning: reset() [function.reset]: Passed variable is not an array or object in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 72
Warning: key() [function.key]: Passed variable is not an array or object in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 72
Warning: snmpwalkoid() [function.snmpwalkoid]: No response from tech-netmon-01 in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 69
Warning: reset() [function.reset]: Passed variable is not an array or object in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 72
Warning: key() [function.key]: Passed variable is not an array or object in c:\Apache\htdocs\cacti\include\snmp_functions.php on line 72
Warning: Cannot modify header information - headers already sent by (output started at c:\Apache\htdocs\cacti\include\snmp_functions.php:69) in C:\Apache\htdocs\cacti\snmp.php on line 64
The first error message seems to be a hint. Are you sure that tech-netmon-01 is resolvable to IP address for cacti machine? Double check your community name as well. As a test you can try to use snmpget command outside of cacti to check if your SNMP communication works.