This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
simple_snmp [2007/08/29 00:07] adam |
simple_snmp [2007/08/29 00:09] adam |
||
---|---|---|---|
Line 91: | Line 91: | ||
==== Set Up Your SNMP Query Host ==== | ==== Set Up Your SNMP Query Host ==== | ||
- | You need a machine to make requests from and this should be the machine which you have in your SNMP configuration on the other machines. For Windows, I don't know what you're going to do, I don't use Windows for anything network related, so you're on your own. You'll probably have to pay someone money for some software, but you could try starting with the snmp command or look at PRTG for graphing, | + | You need a machine to make requests from and this should be the machine which you have in your SNMP configuration on the other machines. For Windows, I don't know what you're going to do, I don't use Windows for anything network related, so you're on your own. You'll probably have to pay someone money for some software, but you could try starting with the snmp command or look at PRTG for graphing, |
On Fedora: | On Fedora: | ||
Line 118: | Line 118: | ||
snmpwalk -c < | snmpwalk -c < | ||
- | Good huh? | + | for system related OIDs. Good huh? |
Line 163: | Line 163: | ||
Add the following line to the crontab of a user which is able to write to your web server' | Add the following line to the crontab of a user which is able to write to your web server' | ||
- | | + | '' |
This will make MRTG collect stats via SNMP every 5 minutes. Do the same for any other hosts you wish to graph. Note that I have redirected all standard output and errors to /dev/null, so I don't have to hear about it if it doesn' | This will make MRTG collect stats via SNMP every 5 minutes. Do the same for any other hosts you wish to graph. Note that I have redirected all standard output and errors to /dev/null, so I don't have to hear about it if it doesn' |