Re: [PHP] SNMP via PHP

2012-10-16 Thread Lester Caine
Tom Rogers wrote: Did you see this:http://www.php.net/manual/en/book.snmp.php Once you know the answer, then the question is easy ... In order to use your link one has to know how SNMP works and understand things like 'object_id' ... http://www.jffnms.org/ turned up and is just what I was lo

Re: [PHP] SNMP via PHP

2012-10-15 Thread Tom Rogers
> working system, but now I'm having trouble getting SNMP sorted on the target > machines. So I started looking for an editor to handle the MIB data and keep > hitting one dead end after another. > I'm sure there must be something out there using ph

Re: [PHP] SNMP via PHP

2012-10-15 Thread Lester Caine
Jonathan Sundquist wrote: There appears to be quite a few examples, https://www.google.com/search?q=php+snmp+example <https://www.google.com/search?q=php+snmp+example&aq=0&oq=php+snmp+&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8>, and tutorials, https://www.google.com

Re: [PHP] SNMP via PHP

2012-10-15 Thread Jonathan Sundquist
There appears to be quite a few examples, https://www.google.com/search?q=php+snmp+example<https://www.google.com/search?q=php+snmp+example&aq=0&oq=php+snmp+&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8>, and tutorials, https://www.google.com/search?q=php+snmp+exam

Re: [PHP] SNMP via PHP

2012-10-15 Thread Jonathan Sundquist
There appears to be quite a few examples, https://www.google.com/search?q=php+snmp+example<https://www.google.com/search?q=php+snmp+example&aq=0&oq=php+snmp+&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8>, and tutorials, https://www.google.com/search?q=php+snmp+exam

Re: [PHP] SNMP via PHP

2012-10-15 Thread Lester Caine
Bastien wrote: Xenoss is a python solution with tons of monitoring capability. It's well worth a look If I wanted to move to python then I would not be asking here ;) I have enough of python on Hg and what I'm looking for here is PHP code that I can massage to do what I need ... I'm still w

Re: [PHP] SNMP via PHP

2012-10-15 Thread Bastien
have working system, but now I'm having trouble getting SNMP sorted on the > target machines. So I started looking for an editor to handle the MIB data > and keep hitting one dead end after another. > > I'm sure there must be something out there using p

[PHP] SNMP via PHP

2012-10-15 Thread Lester Caine
ed looking for an editor to handle the MIB data and keep hitting one dead end after another. I'm sure there must be something out there using php-snmp for a browser? -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic

[PHP] SNMP Documentation and Features

2009-02-17 Thread Randall Wiggins
Has anyone here had much experience with the SNMP module? I started working with it a few weeks ago to find the documentation, configuration and features lacking. I figure its a low priority module for Zend and would like to get some help documenting things that are missing and maybe even taki

Re: [PHP] SNMP Functions

2008-11-27 Thread Chris
Rui Quelhas wrote: Hello guys, i'm running php on Leopard 10.5.5 with native php and snmp builds. I was hoping someone could tell me how can i activate the php snmp in order to use the snmp functions. I've searched everywhere for this but i didn't find anything usefull. Appreci

[PHP] SNMP Functions

2008-11-27 Thread Rui Quelhas
Hello guys, i'm running php on Leopard 10.5.5 with native php and snmp builds. I was hoping someone could tell me how can i activate the php snmp in order to use the snmp functions. I've searched everywhere for this but i didn't find anything usefull. Appreciate any kind of answ

[PHP] SNMP support on compile from source FastCGI

2007-03-25 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hello everyone, I'm trying to add the SNMP module with a compile-from-source PHP 5.2.1 installation. This is on a Fedora Core 5 system with target web server being lighttpd. This is the configure script that I have: ./configure --enable-fastcgi --enable-discard-path --enable-force-redirect --wi

Re: [PHP] PHP & SNMP

2006-05-23 Thread Chris
Pavleck, Jeremy D. wrote: Greetings, Seem to have a bit of a problem I can't figure out. I'm trying to query servers via SNMP with PHP's snmpget function. Everything seems to work fine, no problems at all - except I'd like the web page to print the string value instead of the numeric value (I.E.

[PHP] PHP & SNMP

2006-05-23 Thread Pavleck, Jeremy D.
Greetings, Seem to have a bit of a problem I can't figure out. I'm trying to query servers via SNMP with PHP's snmpget function. Everything seems to work fine, no problems at all - except I'd like the web page to print the string value instead of the numeric value (I.E. OK for the Compaq Drive Arr

Re: [PHP] SNMP problem is TCP

2006-03-20 Thread Richard Lynch
You're not showing enough code... What does function zamiana look like? And is the code you gave us porty_set.php line 70? Or is that some other code we haven't seen? Is 'pliki' a PHP software package you got somewhere else? They may have a more focussed forum / mailing list / whatever that ca

[PHP] SNMP problem is TCP

2006-03-19 Thread wood-gd
Hello // I sorry my english //my script is control TCP protocol $ip=83.190.177.45; // IP $community=public; //community (password) echo $stan = '12'; // deletetcb - del connect $LocalAddress = snmpwalk("$ip","$community","tcp.tcpConnTable.tcpConnEntry.tcpConnLocalAddre ss"); $

[PHP] php-snmp-4.3.11-2.5 for RH8?

2005-05-06 Thread Rob Kudyba
We are experiencing the 'usmAES192PrivProtocol in Unknown' error in the Apache error log due to a conflict between Net-SNMP 5.2.1 and the php-snmp package. Well of course, Fedora 3 has an update available at (and detailed) here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155

[PHP] snmp nodes

2004-12-26 Thread arun parajuli
I am trying to get object data from a cisco AS5300 universal gateway through snmp. i am using the getsnmp,walsnmp etc functions of php. my proble is. i want to get cisco data using node address "1.3.6.1.4.1.9"( when we start from the root of the tree) but php starts to look from the "MIB" node

[PHP] SNMP MIB selection under php4

2004-09-03 Thread IRule
Hello all, I was wondering if there is any way to tell PHP4 to load a specific MIB file? PHP5 has a snmp_read_mib(), but php4 lacks this function. Any help would be apreciated. Thanks, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SNMP traps generation

2004-07-16 Thread franck
If you find something, it's interesting me !! Because of ASN1 encryption, it's hard to send a simple SNMP Trap with somes lines of code. "Alessandro Vitale" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Hi all, > does anybody know any good library (class|script) for ge

[PHP] SNMP traps generation

2004-07-16 Thread Alessandro Vitale
Hi all, does anybody know any good library (class|script) for generating SNMP traps wirtten in PHP? thanks in advance, A. *** Alessandro Vitale Jr. Software Engineer Tiscali International Network Spa +39 070 4601678 [EMAIL PROTECTED] *

Re: [PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Ray Hunter
On Tue, 2004-03-30 at 13:17, Victor wrote: > $a = snmpwalk("216.18.74.170", "public", ""); > > > for($i=0; $i<551; $i++) > { >print $a[$i]; >print ""; > } > ?> This is my code and i recieve a huge list. Some of it i understand but > i can't understand the OID part and all the ip

[PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Victor
"; } ?> This is my code and i recieve a huge list. Some of it i understand but i can't understand the OID part and all the ips there. Can you please help me Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP & SNMP

2004-01-06 Thread Luke Bailey
I'm trying to access some SNMP agents. I have to have use SNMP v2, otherwise the snmp requests time out. PHP seems to use SNMP v1 by default. How can I change this? EX: I need it to replicate the following command snmpget -v2c ... Luke Bailey -- PHP General Mailing List (http://www.php.net/)

[PHP] Php snmp Version

2003-09-30 Thread Lucas Lain
Hi everybody, i was googled a long time looking how to pass the snmp version to the snmpget or snmpwalk functions. The only response was from a guy who proposed to change the source code. I don't fully understand, the code is ready to do snmp v2c querys but it doesn't exists the parameters... i

RE: [PHP] SNMP mib resoultion

2003-09-19 Thread Guy Fraser
Chris W. Parker Wrote : > > Guy Fraser > on Friday, September 12, 2003 1:53 PM said: > > > This is my third attempt to send this message and I havn't seen one > > show up yet. :{ > > > > I hope this gets through. > > I got it!! Great... Now if someone could

RE: [PHP] SNMP mib resoultion

2003-09-12 Thread Chris W. Parker
Guy Fraser on Friday, September 12, 2003 1:53 PM said: > This is my third attempt to send this message and I havn't seen one > show up yet. :{ > > I hope this gets through. I got it!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] SNMP mib resoultion

2003-09-12 Thread Guy Fraser
Does any know how to get additional mibs to be resolved on FreeBSD or Linux ? This is my third attempt to send this message and I havn't seen one show up yet. :{ I hope this gets through. -- Guy Fraser Network Administrator The Internet Centre 780-450-6787 , 1-888-450-6787 There is a fine line

[PHP] SNMP v2

2003-06-19 Thread Russell Handorf
i'm having a heck of a time getting snmpv2 to work with php. does anyone else have it working yet? i'm on rh 7.3 with apache v 1.3.23-14 and php v 4.1.2-7.3.6 on a test system not on the internet. what i'm trying to accomplish is a mib walk with php on a device that only supports snmpv2. here is

[PHP] SNMP v2

2003-06-18 Thread Russell Handorf
i'm having a heck of a time getting snmpv2 to work with php. does anyone else have it working yet? i'm on rh 7.3 with apache v 1.3.23-14 and php v 4.1.2-7.3.6 on a test system not on the internet. what i'm trying to accomplish is a mib walk with php on a device that only supports snmpv2. here

[PHP] snmp problems

2003-02-14 Thread Razvan Cosma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Suse 8.0, ucdsnmp-4.2.3-145, tried both php-4.1.2 and 4.3.0, compiled from source, snmp support enabled. bash# snmpget 1.2.3.4 "communitystring" .1.3.6.1.2.1.2.2.1.1.2 interfaces.ifTable.ifEntry.ifIndex.2 = 2 But if I try the following lines:

[PHP] UCD-SNMP 4.2.5 and PHP-SNMP

2002-09-17 Thread Brian E. Seppanen
I have an application that uses php's snmp support to gather some information. I run several servers that are using this application and all of the servers are running redhat-7.2. In redhat 7.2 the OS initially ships with ucd-snmp-4.2.1-7.i386.rpm. This works fine with my applications.

[PHP] SNMP Support Problem

2002-09-02 Thread Xfabius
Hi all, I have a problem with use of snmp functions of php. I have compiled UCD binaries and PHP for support snmp functions ( steps by PHP.NET ) but i always receive this error : " Fatal error: Call to undefined function: snmpwalk() ..." ... and this for all snmp functions. Where i can ge

[PHP] snmp / php / linux /error

2002-07-18 Thread MAAS
Iam trying to use my php file in a Linux machine. #!/usr/local/bin/snmp_guard.php -q Then I start it with php snmp_guard.php All I get is Call to undefeind funcion snmpget() WHY?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] SNMP -> LOG

2002-07-15 Thread Mattias Eriksson
Here is a example using snmprealwalk() to make a simple dump to a textfile. The script filters out some things that atleast I don't need. To get more verbose output comment out "$walk = snmp_nice_array($walk);" and/or change "snmp_set_quick_print(1);" to "snmp_set_quick_print(0);". Example with

[PHP] SNMP -> LOG

2002-07-15 Thread MAAS
Hi I would like to collect data from snmpget and log it. Anyone have a idea how to do this? // maas, Sweden -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SNMP Queries and Leftover Sockets

2002-05-23 Thread Brian E. Seppanen
We recently implemented a snmp polling utility using PHP4.0.6 on RedHat Linux 7.2 with an Apache webserver. When people using the polling utility do a poll we get leftover sockets that do not seem to go away, and after a while the webserver needs to be restarted. Is there any way in PHP to

[PHP] snmp replies not printed

2002-05-16 Thread Razvan Cosma
Hello, I have installed php 4.1.2 and ucd 4.2.4 both from tarballs on a linux box, and compiled php both as an apache module and standalone (same options, except for the --with-apxs). Now, when I use snmpwalk or whatever other function from within apache, it works (almost) correctly: snmp_set_q

[PHP] php & snmp

2002-04-18 Thread Scott Baer
Hello... Could some one please direct me in the right direction. I am trying to get an snmpwalk on an snmp device.. I have set up the community and IP correctly.. I can do a manually by doing the fallowing: snmpwalk 126.4.202.157 public from a terminal,,, and I do get some responses

Re: [PHP] SNMP with 4.1.0

2001-12-25 Thread Brian Clark
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 17:39]: > > > gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory > > Does libsnmp.so actually exist in /usr/local/snmp/lib? > Yes (a symlink to another file, which exists), and SNMP is detected fine > through 'configure'. OK, an

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 24. 2001 22:26]: > OK, how about building the DSO via apxs manually and see if you get any > errors? IIRC, you can then place it in the correct directory in the > apache source and use --enable-shared=snmp in apache's configure > *I think*. Why, let me ask

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 17:39]: > > Does libsnmp.so actually exist in /usr/local/snmp/lib? > Yes (a symlink to another file, which exists), and SNMP is detected fine > through 'configure'. > I have two theories. The first is that libsnmp.so is the name of the Apache > mo

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
Hi Brian On Mon, 24 Dec 2001, Brian Clark wrote: > > gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory > > Does libsnmp.so actually exist in /usr/local/snmp/lib? Yes (a symlink to another file, which exists), and SNMP is detected fine through 'configure'. I have two theories

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Peter Hicks ([EMAIL PROTECTED]) [Dec 24. 2001 15:26]: > I am having terrible difficulty trying to build 4.1.0 as an Apache shared > module. Without SNMP support, all is well. However, as soon as I add > --with-snmp=..., I get the following at compile time: > gcc: /usr/local/snmp/lib/.libs/libs

[PHP] SNMP with 4.1.0

2001-12-24 Thread Peter Hicks
All, I am having terrible difficulty trying to build 4.1.0 as an Apache shared module. Without SNMP support, all is well. However, as soon as I add --with-snmp=..., I get the following at compile time: gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory make[3]: *** [snmp.la] Er

[PHP] php snmp compile error

2001-12-16 Thread kancha
I've downloaded php 4.1.0 and ucd-snmp 4.2.3. I was able to compile snmp successfully. Then i tried to compile php with snmp support. Followign is my configure parameters ./configure --with-apxs=/usr/sbin/apxs --enable-calendar --with-pgsql --with-snmp --enable-ucd-snmp-hack --enable-wddx --e

[PHP] snmp segmentation fault

2001-12-12 Thread Kancha .
Hi all I compiled php 4.1.0 with snmp --with-snmp the compilation was smooth and had no problem, but when i try to execute the following statment i get segmentation fault. $x = snmpwalk ("localhost", "public", ""); The same error had occured with ver 4.0.6. I'm using Red Hat linux 7.2 and the

RE: [PHP] SNMP and PHP

2001-08-14 Thread Robert Covell
] Phone: 816.210.7145 Fax: 816.753.1952 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 10:45 AM To: [EMAIL PROTECTED] Subject: [PHP] SNMP and PHP Hi, I need some help in compiling SNMP functions with PHP 4.06 on Solaris 2.6. What I did so

[PHP] SNMP and PHP

2001-08-14 Thread Heiko Maiwald
Hi, I need some help in compiling SNMP functions with PHP 4.06 on Solaris 2.6. What I did so far I downloaded UCD SNMP package and installed it. I compiled php with '--with-snmp=shared' + '--enable-ucd-snmp-hack' and installed everything without any errors. When I do a phpconfig on that ins

[PHP] SNMP OID translation

2001-08-08 Thread Peter Hicks
Hi folks Something I find confusing about using UCD-SNMP with PHP 4.0.6 is that I can't pass something such as: enterprises.cisco.workgroup.ciscoStackMIB.portGrp.portTable.portEntry.portName to snmpwalkoid - it sits around, then complains that this is an invalid object identifier. Is it poss

[PHP] SNMP

2001-07-24 Thread Robert Covell
I have been trying to add snmp support into PHP 4.0.4pl1 and 4.0.6 without success. The box currently has ucd-snmp-4.2.1 on it and is working fine with our mod_perl installation. When we configure it with --with-snmp and --enable-ucd-snmp-hack it configures fine and lists the it has found SNMP.

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread ..s.c.o.t.t.. [gts]
essage- > From: Mike Backes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 08, 2001 2:28 PM > To: [EMAIL PROTECTED] > Subject: [PHP] php, snmp, and mibs > > > Hi, > Sorry if this is a repeat question, I just can't seem to find an answer to > this question. >

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread Jack Dempsey
CTED]] Sent: Tuesday, May 08, 2001 2:28 PM To: [EMAIL PROTECTED] Subject: [PHP] php, snmp, and mibs Hi, Sorry if this is a repeat question, I just can't seem to find an answer to this question. I am running php4 on NT. I've been able to connect to some network equipment with the s

[PHP] php, snmp, and mibs

2001-05-08 Thread Mike Backes
Hi, Sorry if this is a repeat question, I just can't seem to find an answer to this question. I am running php4 on NT. I've been able to connect to some network equipment with the snmp commands, and retrieve the results. But it's the list of values, which can be tough to correspond to the MIB. Is

[PHP] SNMP Difficulties?!?!?!?!?

2001-04-09 Thread Zach Brown
I am having trouble getting the SNMP library to work. It is compiled in and basic calls work but I don't understand what the problem is with using it through PHP. This call from the Unix Shell works: snmpget XX.XX.XX.XX community_name enterprises.838.3.1.1.1.1.0 enterprises.838.3.1.1.1.1.0 = "04

[PHP] Snmp, php and Win2K

2001-04-02 Thread Richard Heyes
Anyone have any examples of php that uses snmp to get the details of bandwidth usage from a Win2K server (ie Bytes sent/received on a particular interface)? Thanks. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

FW: [PHP] SNMP question

2001-02-20 Thread Michael Geier
I am attempting to compile PHP with Net-SNMP package from Sourceforge (ucd-snmp-4.2.i386.rh6.2.tar.gz). I also tried installing from the source tar ball (ucd-snmp-4.2.tar.gz) configure and make/make install work fine. starting apache returns: Cannot load /usr/local/apache/libexec/libphp

[PHP] SNMP question

2001-02-19 Thread Michael Geier
I am attempting to compile PHP with Net-SNMP package from Sourceforge (ucd-snmp-4.2.i386.rh6.2.tar.gz). configure and make/make install work fine. starting apache returns: Cannot load /usr/local/apache/libexec/libphp4.so into server: libsnmp-0.4.2.so: cannot open shared object file: No su