Start a Conversation

Unsolved

This post is more than 5 years old

1451

June 14th, 2011 01:00

Simulate performance data for IP PM domain manager

Hi,

   I want to simulate performance data for Instrumentation object. I have tried to put the value into the property's value of intrumentation object. But it failed beacause the property is instrumented.

  Is there some way to simulate Router, Interface and corresponding instrumentation?

  BTW, i want to do some Performance Test for our solution.

6 Posts

October 28th, 2011 11:00

You can change the instrumented value using an ASL script. Have a look at the script /opt/InCharge/IP/smarts/rules/devstat/devstat-snmp-trap.asl. This script is used for processing traps (linkUp, linkDown...) from an IP domain.

Have a look:

factory   = object("ICIM-ObjectFactory");

ifObj = factory->findComputerSystem(source)

                   ->findNetworkAdapterByInterfaceNumber(numeric(ifIndex))

                   ->findInstrumentation("Fault") ? NEXT;

accessor->set_cache_value(ifObj->Name, "ifOperStatus", "2") ? NEXT;

Hope this helps,

Mathieu

No Events found!

Top