Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use a CGI script to display SNMP information Network
Many devices connected to the network have an SNMP agent running that can give out some information about said device. This information can be accessed from the command line, but the commands are not really user-friendly.

So I have written a small CGI script that displays basic SNMP information in a web page. To use the script, simply install it into /Library -> WebServer -> CGI-Executables/ and access it using the local web server. The linked web page explains how to install the script.

[robg adds: To run the script, just make sure that Web Sharing is active, then enter http://127.0.0.1/cgi-bin/hostinfo in your browser's URL bar. I tested it, and it seems to work (though none of the machines on my network return any interesting info). I've also mirrored the file on macosxhints.com, in case the source vanishes someday.]
    •    
  • Currently 1.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[7,881 views]  

Use a CGI script to display SNMP information | 1 comments | Create New Account
Click here to return to the 'Use a CGI script to display SNMP information' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a CGI script to display SNMP information
Authored by: gxw on Oct 03, '06 06:59:14PM

Thanks for the script. Works good.

To others, this script is only useful if you have SNMP devices on your network like LAN printers, wireless access points, firewall etc. You won't (typically) get any data back from Windows, Mac or Linux boxes.



[ Reply to This | # ]