Re: PHP and SNMP

2003-03-18 Thread Sanjeewa Wijerathne
Thanks leonard, I can use the commandline snmpwalk and snmpget tools but the problem is with the php's snmp functions. I have updated my php rpms thinking this problem might go away. My script , It's the www.php.net's snmpget() example. Leonard Miller <[EMAIL PROTECTED]> wrote: > Do you get an

Re: PHP and SNMP

2003-03-17 Thread Mark Hoover
> Im also looking for this, the snmpget() works in rh7.2 > but not in rh8 ;-( > --sanjeewa The original CD released version of PHP on the RH7.3 CDs works perfectly as well even with the latest ucd-snmp packages. However, if you try to update the PHP packages to the up2date version they don't wor

Re: PHP and SNMP

2003-03-17 Thread Leonard Miller
Do you get any response with SNMPGET or SNMPWALK from the command line? If so, your scripts should look similar to these. Post your script is you can't get it to work. Leonard >>> [EMAIL PROTECTED] 03/16/03 11:23PM >>> Hi, this is my php, snmp list [EMAIL PROTECTED] root]# rpm -qa | grep s

Re: PHP and SNMP

2003-03-16 Thread Sanjeewa Wijerathne
Hi, this is my php, snmp list [EMAIL PROTECTED] root]# rpm -qa | grep snmp php-snmp-4.2.2-8.0.7 net-snmp-utils-5.0.1-6 net-snmp-5.0.1-6 [EMAIL PROTECTED] root]# rpm -qa | grep php php-ldap-4.2.2-8.0.7 php-snmp-4.2.2-8.0.7 php-pgsql-4.2.2-8.0.7 php-4.2.2-8.0.7 php-odbc-4.2.2-8.0.7 php-imap-4.2.2-8

Re: PHP and SNMP

2003-03-14 Thread Leonard Miller
I had problems with it also and finally had to revert back to net-snmp-5.0.1-6 to get it to work. I use php-4.2.2-8.0.7 and everything works fine for me so far. If there was a thread for a fix, I missed it. >>> [EMAIL PROTECTED] 03/14/03 10:12AM >>> Im also looking for this, the snmpget() works

Re: PHP and SNMP

2003-03-14 Thread Sanjeewa Wijerathne
Im also looking for this, the snmpget() works in rh7.2 but not in rh8 ;-( --sanjeewa --- Mark Hoover <[EMAIL PROTECTED]> wrote: > Greetings. > > Back in December on the RedHat Install list there > was mention of a problem > between PHP and the net-snmp packages. I was hoping > to find out wh