Re: how to configure snmptrap (thanks Dave Shield)

"BENAMAR Khalid" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
thanks

1- i want to monitor

   a- memoire used
   b- fan state
   c- disk
   d-interface
   e-alimentation


2- for example memoire used exceeding a limit


3- my problems
in this line that i would add to snmpd.conf monitor -u internal   "inSync"   
..1.3.6.1.4.1.17887.7.6.1.2   ==  1
the means of "inSync"

thanks

>From: "Dave Shield" <[email protected]>
>To: "BENAMAR Khalid" <[email protected]>
>CC: [email protected]
>Subject: Re: how to configure snmptrap (thanks Dave Shield)
>Date: Thu, 2 Nov 2006 10:30:25 +0000
>
>On 02/11/06, BENAMAR Khalid <[email protected]> wrote:
> > i want to supervise a server
>
>That's a bit vague.
>What do you mean by "Supervise"?
>You need to sit down and draw up a list of *exactly*
>what information you want to monitor, and what
>consitutes "a problem".
>
>The SNMP agent is not a magic box - it will only do
>what you tell it to.   It's *your* responsibility to decide
>what information you're interested in, and what constitutes
>"normal" vs "abnormal" behaviour.
>    We can't do that for you.
>
>
> > i want that send a mail to the administrator if we has a problem there.
>
>You need to separate the problem into two parts.
>
>    a)   Detecting a problem (see above)
>    b)   Reporting that problem
>
>The agent can be configured to detect various problems, once you've
>decided what those problems actually are.  But the only mechansim
>that the agent has for reporting anything is a "trap" - it can't do 
>anything
>as complex as sending mail.
>
>So you'd have to configure the agent to send traps to a trap receiver - 
>such
>as "snmptrapd".   This is a simple "trap2sink" line in the snmpd.conf file.
>
>snmptrapd *can* be configured to generate email.
>In fact, we even provide a script to do this.   (See below)
>
> > I installed Net-SNMP
>
>Have a look for the command "traptoemail".
>This shell script contains instructions for exactly what to put in your
>snmptrapd.conf file, in order to send email in response to particular
>(or all) traps.
>
>
> > I want to configure snmptrap to to send trap to handlers.
>
>See above.
>
>Dave
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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
>

_________________________________________________________________
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.