Re: PHP and SNMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
this is my php, snmp list

[root@xxx 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

[root@xxx 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.0.7
php-mysql-4.2.2-8.0.7
[root@xxx root]#

But i cant use the snmpget() function in php, this is
the output of snmpget().

Warning: Invalid object identifier:
system.SysContact.0 in /var/www/html/php/snmp/snmp.php
on line 3
any idea why ?

--sanjeewa.


 --- Leonard Miller <Leonard_Miller@xxxxxxxx> wrote: >
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.
> 
> >>> this_is_root@xxxxxxxxxxx 03/14/03 10:12AM >>>
> Im also looking for this, the snmpget() works in
> rh7.2
> but not in rh8 ;-(
> --sanjeewa 
> 
> 
> --- Mark Hoover <mhoover@xxxxxxxxxxxxx> 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 whether
> > anything has been done to fix the issue.  I've run
> > up2date on the box, but
> > the problem seems to still exist with the latest
> > available packages.
> > 
> > I tried re-installing the old original 7.3 php and
> > ucd-snmp, but that didn't
> > seem to work as the older php has dependency
> issues
> > with the newer RedHat.
> > 
> > Does anybody have a proven work around for this?
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@xxxxxxxxxx
>
https://listman.redhat.com/mailman/listinfo/psyche-list 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux