[Top] [All Lists]

Re: [nv-l] Service Down and Service UP TRAPs ...

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Service Down and Service UP TRAPs ...
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 29 Jun 2005 14:21:20 -0400
Delivery-date: Wed, 29 Jun 2005 19:22:03 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF55BA5377.F352D688-ON8325702F.005B194D-8325702F.005D642B@serpro.gov.br>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
I'm not certain just what you are asking.

Service traps would be issued by servmon provided he is configured to
montior for that service.  If he sent them, you would get them.  You can
send dummy versions of them with the event command to mimic this behavior,
if you want to check how your Perl script behaves.  The command "event -l"
( small letter L) will list all the traps supported by the event command
and then you can issue those that appear in the list either by name or
number.  For example, "event -l" shows that the two traps you are
interested in are
      SUP_EV           0058916975    3        Service Up
      SDWN_EV      0058916976    3        Service Down

so you could issue  either "event -e SUP_EV" or "event -E 58916975" to get
a dummy Service Up event to be issued.  You can combine that with other
parameters on the event command to send more data in the event, as for
example, "event -h test1 -a junk -e 58916975"   which would give you a
Service Up trap from a host named "test1" with the work "junk" in varbind
4, which usually contains, among other things, the service name.

If you are complaining that servmon is not sending the trap, then I would
check his configuration, and his log.  I believe that he runs on a timer
basis and does not react to traps from other devices, but rather performs
his checks based on what in his config file.  So for him to generate his
traps, the Service would have to be up or down at the time that he checked
it, which means that there may be a considerable time lag.  servmon is
designed to notify you about services running on servers which are not
capable of monitoring them and sending traps about them when they go up or
down.  If your server can send his own trap, that will almost always arrive
at your box before servmon will get a chance to go check the service.

Or are you asking about Service Impact traps sent to TEC?  That's a
completely different issue.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group

             "Bernhard Zanker"                                             
             serpro.gov.br>                                             To 
             Sent by:                  nv-l@lists.us.ibm.com               
             owner-nv-l@lists.                                          cc 
                                       [nv-l] Service Down and Service UP  
             06/29/2005 01:00          TRAPs ...                           
             Please respond to                                             

Hi again !!!

I'm trying to run Scripts in PERL whenever I receive TRAPs from my network

I receive only TRAPs NodeDown and NodeUP, and TRAPs 'AMS2DefaultTrap' from
Enterprise 'AMS2ALERT' (Anti-virus Server) ... but don't Service Down and
Service UP from Enterprise 'NetView' ...

I have connected to UDP port 162 to see if TRAP packets ServiceDown/UP are
arriving from my network ... but I don't see it !!!

Its the problem in my Windows 2000 Host ???

Enviroment :
Server : Tivoli 7.1.3 Windows
Hosts : Windows 2000 SP4 with SNMP TRAP enabled to Tivoli Server IP


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web