php snmp with cacti

Discussion in 'Install/Configuration' started by anewday, Apr 8, 2008.

  1. anewday

    anewday Moderator

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


    //working sample snmpd.conf
    rocommunity  public
    pass . /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. :)
  2. mistwang

    mistwang LiteSpeed Staff

    You need to install NetSNMP and recompile PHP with SNMP module enabled.

    Yes, you need to change the path to php.

Share This Page