I created a Topo listener and it is running on FE server as a separate thread. Update method is invoked on events like addition or update but never on MO deletion. MOs are deleted exclusively using TopoAPI methods:
<DATA_TO_POLL oid='columnar OID' + 'MO.portIndex' <===== something like this type="node" name="Frames Rxd w/Errors" /> </DATA_COLLECTION> </POLLING_OBJECT>
We are trying to use only .conf file and access specific instance of a columnar OID, but the instance is discovered during runtime. Is there a way to do such thing in .conf file?
I'm trying to add my own object for representing power feeds on switch (I don't want to extend MO). But I can't even create simple persistent object, even though I followed UsingStorageAPI tutorial during startup of the server I get a notification:
Process : Collector [ FAILED ]
I verified that
PROCESS com.adventnet.nms.persistence.StorageServer ARGS NULL
is uncommented in NmsProcessesBE.conf. Here are my source files:
PowerSupply.java
package com.overture.oms.mo;
import java.io.Serializable;
public class PowerSupply implements Serializable { public PowerSupply() { }
private int PSID; private int supplyIndex; private byte status;
public int getPSID() { return PSID; }
public void setPSID(int pSID) { PSID = pSID; }
public int getSupplyIndex() { return supplyIndex; }
public void setSupplyIndex(int supplyIndex) { this.supplyIndex = supplyIndex; }
public byte getStatus() { return status; }
public void setStatus(byte status) { this.status = status; }
into the hibernate.cfg.xml. The table is created in the database on server start-up. Any ideas what could be wrong (from stack trace I find out that the problem happnes somewhere in com.adventnet.nms.startnms.NmsMainBE) ?