Re: snmp / php / linux /error

From: Date: Thu, 18 Jul 2002 10:56:10 +0000
Subject: Re: snmp / php / linux /error
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-108239@lists.php.net to get a copy of this message
In article <20020718103644.19470.qmail@pb1.pair.com>, maas@telia.com says... > Iam trying to use my php file in a Linux machine. > > #!/usr/local/bin/snmp_guard.php -q > > <? > $bat = snmpget("192.168.10.8", "pub_likt", > ".1.3.6.1.4.1.2606.1.2.12.0"); > $sum = snmpget("192.168.10.8", "pub_likt", > ".1.3.6.1.4.1.2606.1.2.13.0"); > $drift = snmpget("192.168.10.8", "pub_likt", > ".1.3.6.1.4.1.2606.1.2.10.0"); > $verk = snmpget("192.168.10.8", "pub_likt", > ".1.3.6.1.4.1.2606.1.2.11.0"); > echo $bat; > ?> > > Then I start it with php snmp_guard.php > > All I get is > > Call to undefeind funcion snmpget() > > WHY?? That error is usually an indication that the particular resource hasn't been included when php was compiled. Use phpinfo() to see what capabilities your installation has. -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#108239) next »