Re: Using Net-SNMP to monitor SWAP space

Raphaël 'SurcouF' Bordet <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Le mardi 05 octobre 2010 à 22:15 -0700, Andrew Brill a écrit :
> I have read the sections on using SWAP for monitoring swap space.  I
> just do not understand in plain howto language to make this work.  Is
> there anybody who can explain this in a much easier manner?
> 
> I have traps enabled but it seems like there is some thing related to
> DIS MAN MIB yet my net-snmp file makes no mention of DIS MAN MIB.
> 
> So here's the information from the WIKI but it doesn't make sense to
> me:
> 
> swap MIN 
>         monitors the amount of swap space available on the local
>         system. If this falls below the specified threshold (MIN kB),
>         then the memErrorSwap object will be set to 1, and a suitable
>         description message reported via memSwapErrorMsg. 
> 
> Note:
>         This situation will not automatically trigger a trap to report
>         the problem - see the DisMan Event MIB section later.
> If this directive is not specified, the default threshold is 16 MB.And
> then I see this information:
> 
> 
> defaultMonitors yes
>         will configure the Event MIB tables to monitor the various
>         UCD-SNMP-MIB tables for problems (as indicated by the
>         appropriate xxErrFlag column objects).
> 
>         This is exactly equivalent to the configuration: 
> 
> monitor -o memErrorName -o memSwapErrorMsg "memory" memSwapError != 0
>         
>         I have no idea what this means...please any help is greatly
>         appreciated.

You've to define an internal SNMPv3 user (or Security Name) and specify
this using iquerySecName before having Disman monitoring to work.

This is this user which be used by snmpd to monitor defined OID by
monitor directives.

Somes examples here: 
http://net-snmp.sourceforge.net/docs/man/snmpd.examples.html#lbAV


Regards, 

-- 
Raphaël 'SurcouF' Bordet


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.