Re: [PHP] SNMP via PHP
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 looking for and can see the devices and report what each is providing. I still need to get cacti to see those devices, but once one has SOMETHING working then things get a lot easier :) The question I should have been asking was php network monitoring system I still need to add monitoring of the domain list and that each domain is being correctly returned, but now I have something I can pull apart and play with and push my own parts back into. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
Bastien Koert On 2012-10-15, at 7:09 AM, Lester Caine les...@lsces.co.uk wrote: OK I've spent the last two hours going through pages of crap generated by google, and that includes google crap created by searches on sites like http://www.phpbuilder.com - cause mainly of cause by php pages on sites supporting other languages :( Certainly it seems that PHP is preferred even to website java and ruby ... I had some problems over the weekend with the network here and decided it was time to get some monitoring in place locally. cacti simply loaded up and I 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 php-snmp for a browser? -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Xenoss is a python solution with tons of monitoring capability. It's well worth a look Bastien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
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 working my way around this. cacti provides a nice monitoring layer and is PHP, but is not helping to set up SNMP on the client machines, so I'm looking for something that can help edit MIB files and also check the SNMP link to remote machines ... -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
There appears to be quite a few examples, https://www.google.com/search?q=php+snmp+examplehttps://www.google.com/search?q=php+snmp+exampleaq=0oq=php+snmp+sugexp=chrome,mod=0sourceid=chromeie=UTF-8, and tutorials, https://www.google.com/search?q=php+snmp+examplehttps://www.google.com/search?q=php+snmp+exampleaq=0oq=php+snmp, on google. On Mon, Oct 15, 2012 at 7:25 AM, Lester Caine les...@lsces.co.uk wrote: 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 working my way around this. cacti provides a nice monitoring layer and is PHP, but is not helping to set up SNMP on the client machines, so I'm looking for something that can help edit MIB files and also check the SNMP link to remote machines ... -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=**contacthttp://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.**ukhttp://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
There appears to be quite a few examples, https://www.google.com/search?q=php+snmp+examplehttps://www.google.com/search?q=php+snmp+exampleaq=0oq=php+snmp+sugexp=chrome,mod=0sourceid=chromeie=UTF-8, and tutorials, https://www.google.com/search?q=php+snmp+examplehttps://www.google.com/search?q=php+snmp+exampleaq=0oq=php+snmp, on google. On Mon, Oct 15, 2012 at 7:25 AM, Lester Caine les...@lsces.co.uk wrote: 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 working my way around this. cacti provides a nice monitoring layer and is PHP, but is not helping to set up SNMP on the client machines, so I'm looking for something that can help edit MIB files and also check the SNMP link to remote machines ... -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=**contacthttp://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.**ukhttp://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
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+exampleaq=0oq=php+snmp+sugexp=chrome,mod=0sourceid=chromeie=UTF-8, and tutorials, https://www.google.com/search?q=php+snmp+example https://www.google.com/search?q=php+snmp+exampleaq=0oq=php+snmp, on google. Care to point out something there which is ACTUALLY usable? Many of the 'php examples' only have a connection to php because they are on .php hosted pages ... But it's not examples I'm looking for but something like http://sourceforge.net/projects/php-netanalyzer/ which is still coming up on many searches but not even available just to play with :( -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SNMP via PHP
Hello Lester, Monday, October 15, 2012, 9:09:13 PM, you wrote: OK I've spent the last two hours going through pages of crap generated by google, and that includes google crap created by searches on sites like http://www.phpbuilder.com - cause mainly of cause by php pages on sites supporting other languages :( Certainly it seems that PHP is preferred even to website java and ruby ... I had some problems over the weekend with the network here and decided it was time to get some monitoring in place locally. cacti simply loaded up and I 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 php-snmp for a browser? -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk Did you see this: http://www.php.net/manual/en/book.snmp.php -- Best regards, Tommailto:trog...@kwikin.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] SNMP and PHP
I had the same problem and never got it working on Linux. Posted a very similar question and got one response from someone that got it working on FreeBSD but that was it. Sincerely, Robert T. Covell President / Owner Rolet Internet Services, LLC Web: www.rolet.com Email: [EMAIL PROTECTED] 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 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 installation I can see this configure option. Everything textbook. BUT when I try to use any of the snmp function calls I get an error message saying this is an undefined function. Any ideas, please!! Thanks Heiko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]