I am new to this, so be gentle :-]
I wasn't getting any graphs, so I turned on Graph debugging. It was unable to write to a log file, so I fixed the permissions. Now it says
ERROR: opening '/var/www/html/cacti/rra/pix515_traffic_in_8.rrd': No such file or directory
I waited for a while for cron to run. I even (in webmin) manually ran the cron job. Somebody mentioned something about a config file change to point to the RRD tool location. Is this my next step? Where do I edit it if so? If not, what do you recommend?
miguknom
ERROR: opening '/.../rra/pix515_traffic_in_8.
Moderators: Developers, Moderators
I ran php.cmd and got this:
There are no items in your poller cache. Make sure you have at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
time: 0
I see that my snmp cache is empty.
Does this necessarily mean that I am not polling or could I have something pointing in the wrong direction? If so, what can I do to debug polling? I have a data source configured already and I can manually run the cron job.
I verified that I can snmpget from this target using command line with the same community string:
# snmpget -v 1 10.3.17.254 -c test ifDescr.2
IF-MIB::ifDescr.2 = STRING: PIX Firewall 'inside' interface
What I am after is interface throughput which I don't know the syntax for but I think it should work anyway, right?
There are no items in your poller cache. Make sure you have at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
time: 0
I see that my snmp cache is empty.
Does this necessarily mean that I am not polling or could I have something pointing in the wrong direction? If so, what can I do to debug polling? I have a data source configured already and I can manually run the cron job.
I verified that I can snmpget from this target using command line with the same community string:
# snmpget -v 1 10.3.17.254 -c test ifDescr.2
IF-MIB::ifDescr.2 = STRING: PIX Firewall 'inside' interface
What I am after is interface throughput which I don't know the syntax for but I think it should work anyway, right?
OK, I found out where to debug the data source (data source --> debug on).
It shows that polling is working, so I think I am down to "Why isn't that info making it into my polling cache?" Does that sound right? Any suggestions?
Here is my cron log stuff:
Aug 5 09:05:00 SnortSensor1 CROND[1492]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:10:00 SnortSensor1 CROND[1526]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:15:00 SnortSensor1 CROND[1569]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:20:00 SnortSensor1 CROND[1583]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:25:00 SnortSensor1 CROND[1586]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:30:00 SnortSensor1 CROND[1604]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:35:00 SnortSensor1 CROND[1622]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:40:00 SnortSensor1 CROND[1625]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:45:00 SnortSensor1 CROND[1701]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:50:00 SnortSensor1 CROND[1716]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:55:00 SnortSensor1 CROND[1748]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Looks like it's working, eh?
My paths to snmp utilites are correct:
snmpget: /usr/local/bin/snmpget
snmpwalk: /usr/local/bin/snmpwalk
It shows that polling is working, so I think I am down to "Why isn't that info making it into my polling cache?" Does that sound right? Any suggestions?
Here is my cron log stuff:
Aug 5 09:05:00 SnortSensor1 CROND[1492]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:10:00 SnortSensor1 CROND[1526]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:15:00 SnortSensor1 CROND[1569]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:20:00 SnortSensor1 CROND[1583]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:25:00 SnortSensor1 CROND[1586]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:30:00 SnortSensor1 CROND[1604]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:35:00 SnortSensor1 CROND[1622]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:40:00 SnortSensor1 CROND[1625]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:45:00 SnortSensor1 CROND[1701]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:50:00 SnortSensor1 CROND[1716]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Aug 5 09:55:00 SnortSensor1 CROND[1748]: (username) CMD (php /var/www/html/caci/cmd.php > /dev/null 2>&1)
Looks like it's working, eh?
My paths to snmp utilites are correct:
snmpget: /usr/local/bin/snmpget
snmpwalk: /usr/local/bin/snmpwalk
Who is online
Users browsing this forum: No registered users and 0 guests