Ad Widget

Collapse

Help with triggers values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tiago
    Junior Member
    • Apr 2012
    • 2

    #1

    Help with triggers values

    Hi,

    I'm having troubles creating some triggers for a HP Procurve 2960.
    For example:

    {Template_HP_Procurve_2960:ifInErrors05.last(0)}<4

    What does this value mean? How many other values there is and what they do?
    My purpose is to create a trigger to monitor a specific port in the switch, to know if it has errors.

    I'm using a trigger because if I use a graph I can't create an action that sends me an email notifying me of the problem.

    Thanks in advance!
  • JBo
    Senior Member
    • Jan 2011
    • 310

    #2
    Hi,

    Originally posted by Tiago
    {Template_HP_Procurve_2960:ifInErrors05.last(0)}<4

    What does this value mean?
    I'm assuming that you have not modified ifInErrors05 definition in Template_HP_Procurve_2960.
    It is defined as:
    • Type: SNMPv2 agent
    • SNMP OID: 1.3.6.1.2.1.2.2.1.14.5
    • Store value: Delta (speed per second)

    It means that ifInErrors05 measures using SNMP the number of errors per second on port 5.
    {Template_HP_Procurve_2960:ifInErrors05.last(0)}<4
    means that this trigger is true if you have less than 4 errors per second (probably not what you want).
    Originally posted by Tiago
    How many other values there is and what they do?
    That's SNMP, if you are not familiar with it you should read some documentation and may be SNMP and MIB. ifnErrors comes from IF-MIB.

    Originally posted by Tiago
    My purpose is to create a trigger to monitor a specific port in the switch, to know if it has errors.
    {Template_HP_Procurve_2960:ifInErrors05.last(0)}>0
    will be true as soon as you have an error on port 5.

    Originally posted by Tiago
    I'm using a trigger because if I use a graph I can't create an action that sends me an email notifying me of the problem.
    Of course, graphs are for viewing, triggers for alerts.

    Regards,
    JBo

    Comment

    • Tiago
      Junior Member
      • Apr 2012
      • 2

      #3
      Thank you for your reply, it helped a lot.

      Now with the actions configuration, is it possible to set an action to email me if a specific trigger is activated? If yes, can you give me an example?

      Best regards

      Comment

      • JBo
        Senior Member
        • Jan 2011
        • 310

        #4
        Hi

        Originally posted by Tiago
        Now with the actions configuration, is it possible to set an action to email me if a specific trigger is activated? If yes, can you give me an example?
        Yes.
        Have you looked in the manual for actions and medias ?
        May be you could try by yourself and come back if you have specific questions.

        Regards,
        JBo

        Comment

        Working...