Start a Conversation

Unsolved

This post is more than 5 years old

995

February 3rd, 2014 06:00

How to handle disapearing SNMP MIB with Dynamic Modeling

Hello everybody

We create a dynamic model to be able to monitor a part of a device.

As soon this part is gone the information is gone in the SNMP MIB as well.

Has anybody done such an instrumentation with dynamic modeling?

Here is the example:

computed attribute OperationStatus_e SC_OperState "The current state."

    = case(SC_OperationStatusInt) {

      key 1:   connected;

      key 2:   disconnected;

      default: unknown;

    } else case(errnum(SC_OperationStatusInt)) {

      key SNMP_EXP_NOSUCHINSTANCE:

      default: disassociating;

    };

Unfortunately I'm not able to compile this model.

Any help would be great.

Best Regards,

Christian

No Responses!
No Events found!

Top