snmp will monitor the load over a 1, 5, and 15 minute average.
e.g.:
load 5 6 7
This tells the load should be under 5 for 1 min ave
This tells the load should be under 6 for 5 min ave
This tells the load should be under 7 for 15 min ave
Friday, April 25, 2008
snmp manage proc
Add proc monitoring to snmpd.conf:
proc my_proc_name [max_instances] [min_instances]
This will monitor dbid:
proc dbid
This will make sure dbid has no more than 3 instances
proc dbid 3
This will makesure dbid has not more than 3 and no less than 1 instance
proc dbid 3 1
proc my_proc_name [max_instances] [min_instances]
This will monitor dbid:
proc dbid
This will make sure dbid has no more than 3 instances
proc dbid 3
This will makesure dbid has not more than 3 and no less than 1 instance
proc dbid 3 1
Thursday, April 24, 2008
snmp remote gui browser
Normally I am all about command line, but if you need to use windows I really recommend using SNMP-Probe. It has a 10 day trial and is only 15 USD for a license. It is really nice for us snmp noobs.
snmp config setup for snmpd
Snmp is really cool, but seems to difficult to setup. I kept getting a "Timeout: No Response from localhost" when I would try to run snmpget to query the mib. I checked the snmpd log and it said that conf was probably bad and that snmpd would probably not be very useful.
I then stumbled on:
snmpconf -g basic_setup
If you're a noob to , like me, this will probably save your bacon. I just followed in guide. Oh btw, you probably want to make a community name of public. This will be helpful when following tutorials that will often use the -c option and assign the value public. e.g. snmpget -v 1 -c public localhost SNMPv2-MIB::sysUpTime.0
Btw, remember to move the snmpd.conf file to /path/to/snmp/share/snmp/
I then stumbled on:
snmpconf -g basic_setup
If you're a noob to , like me, this will probably save your bacon. I just followed in guide. Oh btw, you probably want to make a community name of public. This will be helpful when following tutorials that will often use the -c option and assign the value public. e.g. snmpget -v 1 -c public localhost SNMPv2-MIB::sysUpTime.0
Btw, remember to move the snmpd.conf file to /path/to/snmp/share/snmp/
Subscribe to:
Posts (Atom)