LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > php snmp with cacti

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2008, 09:40 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Default php snmp with cacti

Hi, how do I find out if I need to recompile php with snmp to work properly with cacti?

Also

Code:
//working sample snmpd.conf
rocommunity  public
pass .1.3.6.1.4.1.22253 /usr/bin/php /litespeed_snmp_scripts/sample.php
Do I need to change the path to the php in the above and in sample.conf file? Mine is in /usr/local/lsws/lsphp5

Thanks George.
Reply With Quote
  #2  
Old 04-08-2008, 10:21 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You need to install NetSNMP and recompile PHP with SNMP module enabled.

Yes, you need to change the path to php.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:30 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.