Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • Community Edition
    • Alerting, Ports

    Description

      Hi support,

      For some specific ports, I want to be alerted if the "ifLastChange" has been updated.

       

      I have though about creating an alert checker for ports with parameter "ifLastChange" :

      • If different from previous check (but seems impossible with an alert checker)
      • If ifLastChange date is lower than current date less 5 minutes (same thing seems impossible with an alert checker)

       

      Is there a way to make this possible ?

       

      Thanks

      Attachments

        Activity

          [OBS-3436] Alert check based on date
          landy Mike Stupalov added a comment -

          Added in r14167.

          Allowed metrics:
          ifLastChange, ifLastChange_unixtime and ifLastChange_uptime.

          landy Mike Stupalov added a comment - Added in r14167. Allowed metrics: ifLastChange, ifLastChange_unixtime and ifLastChange_uptime.
          ali Ali D added a comment -

          Hello,

          This can be fixed by adding below to includes/polling/ports.inc.php line 281:

           

          $port['alert_array']['ifLastChange']        = $port['ifLastChange']; //add ifLastchange data to alert array

          ali Ali D added a comment - Hello, This can be fixed by adding below to includes/polling/ports.inc.php line 281:   $port ['alert_array'] ['ifLastChange']        = $port ['ifLastChange'] ; //add ifLastchange data to alert array

          Hi Nicolas, we have not received the additional information requested earlier from you in this issue 'Hi support,

          For some specific ports, I want to be alerted if the "ifLastChange" has been updated.

           

          I have though about creating an alert checker for ports with parameter "ifLastChange" :

          • If different from previous check (but seems impossible with an alert checker)
          • If ifLastChange date is lower than current date less 5 minutes (same thing seems impossible with an alert checker)

           

          Is there a way to make this possible ?

           

          Thanks'!

          Issues without your response will be closed within 2 weeks.

          landy Mike Stupalov added a comment - Hi Nicolas, we have not received the additional information requested earlier from you in this issue 'Hi support, For some specific ports, I want to be alerted if the "ifLastChange" has been updated.   I have though about creating an alert checker for ports with parameter "ifLastChange" : If different from previous check (but seems impossible with an alert checker) If ifLastChange date is lower than current date less 5 minutes (same thing seems impossible with an alert checker)   Is there a way to make this possible ?   Thanks'! Issues without your response will be closed within 2 weeks.

          Vote +1 for alert on update of ifLastChange
          but alert on port flapping from SNMP Trap would be better.

          mtivi Martyushev Tim added a comment - Vote +1 for alert on update of ifLastChange but alert on port flapping from SNMP Trap would be better.

          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          Note, this comment is added automatically.

          bot Observium Bot added a comment - Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files Note, this comment is added automatically.

          People

            landy Mike Stupalov
            nicovpp Nicolas
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: