ncimCache.managedStatus table

The ncimCache.managedStatus table stores the managed status information for network entities.

The following table shows the schema for the ncimCache.managedStatus database table.

Table 1. ncimCache.managedStatus database table schema  

Column name

Constraints

Data type

Description

BASENAME     The name of the base entity for this device.
ENTITYID NOT NULL Integer The identifier of an entity. Corresponds to entityID in the managedStatus table in the NCIM database.
ENTITYNAME NOT NULL String The name of the entity.
ENTITYTYPE     The type of the entity.
MANUAL   Boolean If the entity was added manually to the topology, this value is present and set to 1.
MSGTYPE   String The name of the table within the ncimCache database.
managedStatus NOT NULL List of name/value pairs A list of name/value pairs for the entity.
STATUS
The managed status of an entity can be one of the following values:
0
Managed state. The entity is managed. A device can be set to managed by using the Topoviz or the Structure Browser GUIs, or by using the ManagedNode.pl or RemoveNode.pl scripts.
1
Unmanaged state. The entity is unmanaged. A device can be set to unmanaged by using the Topoviz or the Structure Browser GUIs, or by using the UnManagedNode.pl or RemoveNode.pl scripts.
2
Unmanaged by ncp_disco. This setting cannot be modified from the GUI. This value is set by the PopulateDNCIM_ManagedStatus.stch stitcher.
3
Unmanaged because the IP address is out of the discovery scope. The device has been discovered through another IP address that is within the discovery scope. A managed status of 3 is usually given to interfaces, rather than chassis. This value is set by the PopulateDNCIM_ManagedStatus.stch stitcher.
Note: Unmanaged entities do not suppress other events in RCA. The ncp_poller process does not poll unmanaged entities. Events on unmanaged entities have the field NmosManagedStatus set in the alerts.status field in the ObjectServer.

Format of the data in the ncimCache.managedStatus database table

The following example shows the format of the data in the ncimCache.managedStatus database table, as shown either using an OQL query, or as seen in the NCHOME/var/precision/Store.Cache.ncimCache.managedStatus.DOMAIN file.

{
	BASENAME='somedevice';
	ENTITYID=42766;
	ENTITYNAME='somedevice[ 0 [ 47 ] ]';
	ENTITYTYPE=2;
	MSGTYPE='managedStatus';
	managedStatus={
		STATUS=1;
	};
}