I have cacti up and running ad everything works beautifully. However, I don't know a thing about snmp configuration on linux (redhat and suse, in this case). I am fairly certain that it should be possible to expose much more information than just exposed by the 'SNMP - Interface Statistics' data query that was installed by default and appears to be the only SNMP access to a regular linux host.
In particular, I am interested in paging activity, context switches, disk activity, etc.
I have browsed through the documentation, and found an item on graphing a single OID, but I have no idea how to figure out which OID to graph and how to make sure the hosts I am monitoring actually provide a value for that. Most of the snmp documentation that arises from a google search seems to assume a certain level of expertise that I don't have, and I haven't seen anything that mentions the parameters I am looking for specifically.
I suppose it is possible that I have to write little scripts that run vmstat and such, or grab values from /proc, and then insert them via an exec command in snmpd.conf, but that seems an extraordinarily complex way to do something which must be fairly frequently done. Is there some shortcut I am missing, or somewhere that I can find predefied snmpd.conf sections that I can cut and paste into my own?
THanks
--sam
snmpd.conf question(s)
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: snmpd.conf question(s)
There are SNMP Templates for this in the Templates forumideasculptor wrote:In particular, I am interested in paging activity, context switches, disk activity, etc.
Best starting point isI have browsed through the documentation, and found an item on graphing a single OID, but I have no idea how to figure out which OID to graph and how to make sure the hosts I am monitoring actually provide a value for that. Most of the snmp documentation that arises from a google search seems to assume a certain level of expertise that I don't have, and I haven't seen anything that mentions the parameters I am looking for specifically.
Code: Select all
snmpwalk -c <your community, often: public> -v 1 <target host> system
Again, see the Templates forum. There are lots of ressources to be found ...I suppose it is possible that I have to write little scripts that run vmstat and such, or grab values from /proc, and then insert them via an exec command in snmpd.conf, but that seems an extraordinarily complex way to do something which must be fairly frequently done. Is there some shortcut I am missing, or somewhere that I can find predefied snmpd.conf sections that I can cut and paste into my own?
THanks
--sam
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests