I got php working and I click on add snmp device. It searches all the interfaces. I click on Make Graph for the interface I want. But no go. I have the crontab working properly. I can run php cmd.php > /dev/null 2>& and I don't get any errors. And also their is no files in the rra folder under cacti. Any help would be appreciated. Thanks
Nick
red X on graphs
Moderators: Developers, Moderators
Red X gone
Now i'm getting this when i run php cmd.php
php cmd.php
ping: bad number of packets to transmit.
mysqladmin: connect to server at '-u' failed
error: 'Unknown MySQL Server Host '-u' (11)'
Check that mysqld is running on -u and that the port is 3306.
You can check this by doing 'telnet -u 3306'
sh: -c: line 2: syntax error near unexpected token `main(.'
sh: -c: line 2: `Warning: main(../include/config.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /usr/local/apache/htdocs/scripts/sql.php on line 4'
sh: /usr/bin/smbstatus: No such file or directory
wc: /var/log/httpd/access_log: No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_in.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_out.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_in.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_out.rrd': No such file or directory
php cmd.php
ping: bad number of packets to transmit.
mysqladmin: connect to server at '-u' failed
error: 'Unknown MySQL Server Host '-u' (11)'
Check that mysqld is running on -u and that the port is 3306.
You can check this by doing 'telnet -u 3306'
sh: -c: line 2: syntax error near unexpected token `main(.'
sh: -c: line 2: `Warning: main(../include/config.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /usr/local/apache/htdocs/scripts/sql.php on line 4'
sh: /usr/bin/smbstatus: No such file or directory
wc: /var/log/httpd/access_log: No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_in.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_out.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_in.rrd': No such file or directory
ERROR: can't parse argument 'DS:traf_ds3atm:0_10301:COUNTER:600:0:44736000'
ERROR: opening '/usr/local/apache/htdocs//rra/traf_ds3atm:0_103010000_out.rrd': No such file or directory
Who is online
Users browsing this forum: No registered users and 4 guests