nv-l
[Top] [All Lists]

RE: Ruleset

To: nv-l@lists.tivoli.com
Subject: RE: Ruleset
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Fri, 24 Aug 2001 09:36:20 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Santosh here is the action line I use for emailing. 
 
echo "Server: $NVATTR_2 is now available." | mailx -s "Server: $NVATTR_2 is
now available."  <mailto:cns_server_team@csgsystems.com>
cns_server_team@csgsystems.com
 
Maybe other folks have better action nodes than this but it works so I don't
mess with it
 
The reset on match: input 1 is the node down trap - input 2 is from the node
up trap
The pass on match: input 1 is the reset on match - input 2 is from the up
trap
 
Make sure that the pass on match has field 2 of the trap compared with field
2 of the other trap and that the time is set to 5 minutes
Make sure that the reset on match has field 2 of the trap compared with
field 2 of the other trap and the time is set to something huge like 144
hours.
 
The action node for down is connected to the pass on match
The action node for up is connected to the reset on match
 
NOTE: The event passes is ALWAYS the down event. I have my action nodes with
these messages
 
DOWN:
"Server: $NVATTR_2 is unreachable."
UP:
"Server: $NVATTR_2 is now available."

 

 

-----Original Message-----
From: z_esm_karekars [mailto:z_esm_karekars@bharatpetroleum.com]
Sent: Friday, August 24, 2001 2:49 AM
To: 'Scott_Barr@csgsystems.com'
Subject: RE: [NV-L] Ruleset



<<updn.rs>> 
Hi Barr, 

I had implemented following Ruleset as per your recommendations but it gives
me a mail for only down Trap. Can U pls advice what I need to modify so that
I can meet following requirement

        1. Need to get a mail when the Interface goes down at 1st time. 
        2. Need not get a mails if the interface goes down and comes up 
                within 5 min. 
        3. Need to get mail after the Interface comes up after 5 min. 
Regards, 
Santosh 

        ---------- 
From:   Barr, Scott[SMTP:Scott_Barr@csgsystems.com] 
Reply To:       IBM NetView Discussion 
Sent:   Thursday, August 23, 2001 6:39 PM 
To:     IBM NetView Discussion 
Subject:        RE: [NV-L] Ruleset 

        Santosh you need to use a pass on match and a reset on match node.
The reset on match should have the node down trap as input 1 and the node up
trap as input 2. The pass on match should have input 1 from the reset on
match and input 2 from the node up. (someone correct me if I messed that
up). The reset on match should be coded to compare value 2 of the node down
trap with value 2 of the node up trap and have it set to a 10 minute
threshold. The pass on match I usually set to 144 hours so I can get a node
up event as long as a week earlier. 

        -----Original Message----- 
From: z_esm_karekars [ mailto:z_esm_karekars@bharatpetroleum.com
<mailto:z_esm_karekars@bharatpetroleum.com> ] 
Sent: Thursday, August 23, 2001 3:11 AM 
To: 'nv-l@tkg.com' 
Subject: [NV-L] Ruleset 



        Hi, 

        I am applying following ruleset, I need to ignore Down event if
within 10 min I receive Up event from the same Origin for same interface. I
am still unable to get the required result, Pls advice how can I achieve the
same.

        <<updown.rs>> 

        Regards, 
Santosh 



Santosh here is the action line I use for emailing.
 
echo "Server: $NVATTR_2 is now available." | mailx -s "Server: $NVATTR_2 is now available." cns_server_team@csgsystems.com
 
Maybe other folks have better action nodes than this but it works so I don't mess with it
 
The reset on match: input 1 is the node down trap - input 2 is from the node up trap
The pass on match: input 1 is the reset on match - input 2 is from the up trap
 
Make sure that the pass on match has field 2 of the trap compared with field 2 of the other trap and that the time is set to 5 minutes
Make sure that the reset on match has field 2 of the trap compared with field 2 of the other trap and the time is set to something huge like 144 hours.
 
The action node for down is connected to the pass on match
The action node for up is connected to the reset on match
 
NOTE: The event passes is ALWAYS the down event. I have my action nodes with these messages
 
DOWN:
"Server: $NVATTR_2 is unreachable."
UP:
"Server: $NVATTR_2 is now available."

 

 

-----Original Message-----
From: z_esm_karekars [mailto:z_esm_karekars@bharatpetroleum.com]
Sent: Friday, August 24, 2001 2:49 AM
To: 'Scott_Barr@csgsystems.com'
Subject: RE: [NV-L] Ruleset

<<updn.rs>>
Hi Barr,

I had implemented following Ruleset as per your recommendations but it gives me a mail for only down Trap. Can U pls advice what I need to modify so that I can meet following requirement

        1. Need to get a mail when the Interface goes down at 1st time.
        2. Need not get a mails if the interface goes down and comes up
                within 5 min.
        3. Need to get mail after the Interface comes up after 5 min.
Regards,
Santosh

    ----------
    From:   Barr, Scott[SMTP:Scott_Barr@csgsystems.com]
    Reply To:       IBM NetView Discussion
    Sent:   Thursday, August 23, 2001 6:39 PM
    To:     IBM NetView Discussion
    Subject:        RE: [NV-L] Ruleset

    Santosh you need to use a pass on match and a reset on match node. The reset on match should have the node down trap as input 1 and the node up trap as input 2. The pass on match should have input 1 from the reset on match and input 2 from the node up. (someone correct me if I messed that up). The reset on match should be coded to compare value 2 of the node down trap with value 2 of the node up trap and have it set to a 10 minute threshold. The pass on match I usually set to 144 hours so I can get a node up event as long as a week earlier.

      -----Original Message-----
      From: z_esm_karekars [mailto:z_esm_karekars@bharatpetroleum.com]
      Sent: Thursday, August 23, 2001 3:11 AM
      To: 'nv-l@tkg.com'
      Subject: [NV-L] Ruleset



      Hi,

      I am applying following ruleset, I need to ignore Down event if within 10 min I receive Up event from the same Origin for same interface. I am still unable to get the required result, Pls advice how can I achieve the same.

      <<updown.rs>>

      Regards,
      Santosh







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

Archive operated by Skills 1st Ltd

See also: The NetView Web