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.
Search found 10 matches
Go to advanced search
- by davyp74
- Wed Jul 12, 2006 3:10 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with poller.php
- Replies: 13
- Views: 3958
Hi, i'm debuging poller.php. The error is on line 133: exec_background($command_string, "$extra_args $first_host $last_host"); The command generated is: /usr/bin/php -q /var/www/cacti/cmd.php 0 1 If i run this command from cacti user i get this error: -sh-2.05b$ /usr/bin/php -q /var/www/ca...
- by davyp74
- Tue Jul 11, 2006 10:03 am
- Forum: Help: Linux/Unix Specific
- Topic: Device Localhost and snmp
- Replies: 3
- Views: 808
davyp74 wrote:rony wrote:You need to define a SNMP Community before you will have any snmp enabled on localhost.
I setting is "public".
I create a new host and now snmp work.
The status of the localhost is still Unknown
- by davyp74
- Tue Jul 11, 2006 9:50 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with poller.php
- Replies: 13
- Views: 3958
Run the which as the Cacti user. Does the Cacti user have the abbility execute those files? [root@]# su - cacti -sh-2.05b$ which php /usr/bin/php -sh-2.05b$ which rrdtool /usr/bin/rrdtool -sh-2.05b$ php test Status: 404 X-Powered-By: PHP/4.4.2 Content-type: text/html No input file specified. -sh-2....
- by davyp74
- Tue Jul 11, 2006 9:24 am
- Forum: Help: Linux/Unix Specific
- Topic: Device Localhost and snmp
- Replies: 3
- Views: 808
When i click on Device i see
SNMP Information
SNMP not in use
my snmpd is started and exist a snmpd.conf on /etc/snmp/snmpd.conf
The status of my localhost is Unknow
- by davyp74
- Tue Jul 11, 2006 9:21 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with poller.php
- Replies: 13
- Views: 3958
rony wrote:Confirm that the Settings for the paths to these executables are correctly set in the Cacti settings.
Cacti Setting:
PHP Binary Path = /usr/bin/php
RRDTool Binary Path = /usr/bin/rrdtool
Executable:
[root@]# which php
/usr/bin/php
[root@]# which rrdtool
/usr/bin/rrdtool
- by davyp74
- Tue Jul 11, 2006 8:52 am
- Forum: Help: Linux/Unix Specific
- Topic: Problem with poller.php
- Replies: 13
- Views: 3958
Hi, i've a problem when i run php poller.php from cacti user
-sh-2.05b$ php poller.php
sh: line 1: /php: No such file or directory
sh: line 1: /rrdtool: No such file or directory
help me please.