Hi,
maybe you can assist me to get litespeed/snmp/cacti working ...
No data so far.
Here are the logs and some information.
cacti/log
sample.php seems fine
litespeed is running as www-data/www-data
/tmp/lshttpd
/etc/snmp/snmpd.conf
/etc/crontab
Any hints appreciated. Thanks in advance.
maybe you can assist me to get litespeed/snmp/cacti working ...
No data so far.
Here are the logs and some information.
cacti/log
Code:
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[46] SNMP: v1: 127.0.0.1, dsname: Req_Second, oid: .1.3.6.1.4.1.22253.310.1, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[47] SNMP: v1: 127.0.0.1, dsname: bps_in, oid: .1.3.6.1.4.1.22253.105.1, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[47] SNMP: v1: 127.0.0.1, dsname: bps_out, oid: .1.3.6.1.4.1.22253.106.1, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[48] SNMP: v1: 127.0.0.1, dsname: Req_InProcess, oid: .1.3.6.1.4.1.22253.202.2, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[48] SNMP: v1: 127.0.0.1, dsname: Req_Second, oid: .1.3.6.1.4.1.22253.203.2, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[49] SNMP: v1: 127.0.0.1, dsname: Req_InProcess, oid: .1.3.6.1.4.1.22253.202.3, output: 0
11/13/2006 11:30:02 AM - CMDPHP: Poller[0] Host[2] DS[49] SNMP: v1: 127.0.0.1, dsname: Req_Second, oid: .1.3.6.1.4.1.22253.203.3, output: 0
Code:
/usr/local/bin/php /usr/local/lsws/add-ons/snmp_monitoring/sample.php '-g' .1.3.6.1.4.1.22253.101.1
.1.3.6.1.4.1.22253.101.1
string
LiteSpeed Web Server
drwxr-xr-x 2 www-data www-data 4096 2006-11-13 10:52 rra
drwxr-xr-x 2 www-data www-data 4096 2006-11-13 04:07 log
drwxr-xr-x 2 www-data www-data 4096 2006-11-13 04:07 log
Code:
-rw-r--r-- 1 www-data www-data 636 2006-11-13 11:37 .rtreport
Code:
VERSION: LiteSpeed Web Server/Standard/2.2.5
UPTIME: 00:21:00
BPS_IN: 0, BPS_OUT: 0, SSL_BPS_IN: 0, SSL_BPS_OUT: 0
MAXCONN: 100, MAXSSL_CONN: 100, PLAINCONN: 0, AVAILCONN: 100, IDLECONN: 0, SSLCONN: 0, AVAILSSL: 100
REQ_RATE []: REQ_PROCESSING: 0, REQ_PER_SEC: 0, TOT_REQS: 408
REQ_RATE [EDLL]: REQ_PROCESSING: 0, REQ_PER_SEC: 0, TOT_REQS: 0
REQ_RATE [SOELLNER]: REQ_PROCESSING: 0, REQ_PER_SEC: 0, TOT_REQS: 408
REQ_RATE [_AdminVHost]: REQ_PROCESSING: 0, REQ_PER_SEC: 0, TOT_REQS: 0
EXTAPP [LSAPI] [] [phpLsapi]: CMAXCONN: 20, EMAXCONN: 20, POOL_SIZE: 2, INUSE_CONN: 0, IDLE_CONN: 2, WAITQUE_DEPTH: 0, REQ_PER_SEC: 0,$
EOF
Code:
rocommunity public
pass .1.3.6.1.4.1.22253 /usr/local/php52_litespeed/bin/php /usr/local/lsws/add-ons/snmp_monitoring/sample.php
Code:
*/5 * * * * www-data /usr/local/php52_litespeed/bin/php /var/www/general/htdocs/cacti/poller.php > /dev/null 2>&1
Any hints appreciated. Thanks in advance.