Search found 17 matches

by newmanity
Tue Apr 22, 2008 9:01 am
Forum: Help: General
Topic: Gaps in Graphs
Replies: 3
Views: 1199

That doesn't seem to improve things, and yes, I've tried looking in the forums for Canopy related posts for this issue. The thing is, I'm using my own scripts at the moment, and I simply want to figure out whether or not the gaps I'm getting are a result of the network or the processing power of my ...
by newmanity
Wed Apr 16, 2008 9:26 am
Forum: Help: General
Topic: Gaps in Graphs
Replies: 3
Views: 1199

Gaps in Graphs

I have recently added an extra 8 graphs to 45 devices, each of which has a PHP script to go through (it pulls an OID from one device once it has found it's MAC in the OID list on another). I have a fairly slow machine doing this work: it has a Pentium 4 2.8 GHz processor with 1GB RAM. I am now notic...
by newmanity
Wed Apr 09, 2008 9:37 am
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

I finally got it working. I'm not sure whether this was what I was supposed to be doing from the start or not, but this is what ended up working for me. The data input method is: <path_cacti>/scripts/ss_SMtest.php ss_SMtest <ip> <community> And an example of a function within ss_SMtest.php that can ...
by newmanity
Wed Apr 02, 2008 1:51 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

I had to get rid of XAMPP and start from scratch, intsalling everything individually. The PHP SNMP functionality is now working. However, I am not able to pass values to the function at all, and I'm not sure why. I'm in the same situation I was in above. The doc says I must call the function in the ...
by newmanity
Tue Apr 01, 2008 1:56 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] Cannot Create RRD Files
Replies: 5
Views: 1828

I can't say, as I was only interested in getting it working...what specifically was causing the problem I'm not sure. Although as I could never seem to have access to writing rrd files, it may have something to do with the specific instructions on modifying the mysql user permissions. The crontab is...
by newmanity
Tue Apr 01, 2008 11:46 am
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] Cannot Create RRD Files
Replies: 5
Views: 1828

Due to the lack of PHP SNMP in the XAMPP install, I had to reinstall everything from scratch, and leave XAMPP behind. Wouldn't you know I ran into the inability to create .rrd files in the rra directory again, and my little manoeuvre above did nothing to help me. I finally came across a step by step...
by newmanity
Fri Mar 28, 2008 2:09 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Next step made: I changed my php script to return '55' because I was sick of seeing "Partial Result:" with nothing after it. My script finally returned something when I looked at the DEBUG output of the log file. I've discovered from finding the Tech Support tab in the System Utilities sec...
by newmanity
Fri Mar 28, 2008 1:07 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

I'm not sure if anyone's listening at this point, but I've gotten a little closer. I ran the log in DEBUG, and I realized that my script wasn't being recognized because of the syntax of my input string. I followed the instructions of naming my function the same as the PHP file it was in, but that do...
by newmanity
Fri Mar 28, 2008 12:31 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Does this poller error mean that Cacti is not even able to see my php script? I can't see why it doesn't see it. Cacti is installed in the following directory: /opt/lampp/htdocs/ The Input Type is defined as "Script - Script Server (PHP)" and my data input method's Input string is the foll...
by newmanity
Fri Mar 28, 2008 8:44 am
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Ok. I've made some headway. Although I can't find it in the php manual, there is apparently an snmpget function called snmp2_get strictly reserved for snmp version 2c which of course makes sense. Why I had to find it on php's posts rather than in the manual is a little strange to me, but that part i...
by newmanity
Thu Mar 27, 2008 2:47 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Ok. I'm not sure what I did to get this working, but I now have my php scripts being recognized. The problem now is that the php snmpget command is not returning anything. At first it wasn't even being recognized, and then I realized that the xampp/cacti walk through installation ( http://howtoforge...
by newmanity
Mon Mar 24, 2008 5:12 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Ok...here it is.
by newmanity
Mon Mar 24, 2008 4:42 pm
Forum: Help: General
Topic: [SOLVED] Data Input Method via PHP
Replies: 13
Views: 3414

Ok. I updated my data input method to include the prefix "<path_php> -q" as you wrote. I am still getting the same output on the script server, though now I'm not even sure if I'm actually using the script server. I have php-cli installed, and I type "php /opt/lampp/htdocs/cacti/scrip...
by newmanity
Mon Mar 24, 2008 12:42 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] Cannot Create RRD Files
Replies: 5
Views: 1828

Figured it out

I finally realized what I did wrong. I guess I did do something different on the first install. Every time I imported the cacti.sql file into the MySQL database apart from the first time, I was running it (without realizing it) as root, and not my general user name. I tried to change the permissions...
by newmanity
Thu Mar 20, 2008 2:52 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] Cannot Create RRD Files
Replies: 5
Views: 1828

[SOLVED] Cannot Create RRD Files

I've pulling my hair out here. I ran into problems with cacti (which was working fine with a few hosts) and decided to reinstall everything, including ubuntu. Even though I've followed every re-installation step exactly as the first time, I am now unable to get anything. It is obviously a problem wi...