Release Notes
-
Fixes and Enhancements - NerveCenter 3.8.07 - AddNode -
Previous: NerveCenter 3.8.07
Next: NerveCenter 3.8.06
FireTrigger
The FireTrigger Perl function accepts an optional fourth parameter, delay time. The delay time specifies the number of seconds to wait prior to executing the indicated trigger. You can use the new FireTrigger function everywhere the existing FireTrigger can be used and the behavior is consistant throughout.
New Syntax:
FireTrigger( "trigger name", [subObject], [node], [delay time] );
The time delay can be any number between 0 and 2,147,483,647 and indicates the number of seconds to wait.
To specify a delay time without a subobject or node name, use default value placeholders:
FireTrigger( "myTrigger", $DefaultSubobject, $NodeName, 12 );
AddNode
There is a new Perl function, AddNode, which enables you to add a NerveCenter managed node from a Perl function.
To use within a mask perl trigger function:
AddNode( "node name" );
- The node name may be any valid string enclosed in quotes to identify the node.
- The address assigned to the node is the IP address of the trap origination agent.
- The node property group is assigned based on the enterprise ID indicated by the trap.
- The node community string is assigned based on the community indicated by the trap.
- The node is marked as `managed' and `not suppressed'
- The SNMP version of the node is assigned based on the version of the trap received. A version 1 trap creates a version 1 node, a V2C trap creates a V2C node.
- No action is taken if a node of the same name already exists in the node list. No validation that the node name doesn't already exist is performed at compile time.
To use within a perl poll condition:
AddNode( "node name" );
- The node name must be a valid IP address enclosed in quotes.
- The address assigned to the node is the address specified for the node name.
- The node property group is assigned to the "NCDefaultGroup"
- The node community string is assigned the community string of the node for which the poll condition was executed.
- The node is marked as `managed' and `not suppressed'
- The SNMP version of the node is assigned the version of the node for which the poll condition was executed.
- No action is taken if a node of the same name already exists in the node list. No validation that the node name doesn't already exist is performed at compile time.
To use within an alarm call perl subroutine action:
AddNode( "node name" );
- The node name must be a valid IP address enclosed in quotes.
- The address assigned to the node is the address specified for the node name.
- The node property group is assigned to the "NCDefaultGroup"
- The node community string is assigned the default V1 community string value ("public").
- The node is marked as `managed' and `not suppressed'
- The SNMP version of the node is V1.
- No action is taken if a node of the same name already exists in the node list. No validation that the node name doesn't already exist is performed at compile time.