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.]
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.]
•
[7,952 views]

