Hitachi Energy
Check NP Circuits against Supervised Services
Advanced Services
In order to find out which of the circuits are part of supervised services (i.e. added to Advanced Services in Service Supervision) the nemtasktool may help. The nemtasktool is a FOXMAN-UN built-in tool provided in /opt/nem/bin/private.
The nemtasktool is using the following syntax relevant to the check described here:
 
/opt/nem/bin/private/nemtasktool -h
 
    -X (alarm | service | print) (-I name=<TEName>,slot=<slot>) (--circuitNames <circName1,circName2>) (--checkSections) (--checkPorts)
 
    alarm : create system alarm for missing services
    service : create service for missing services
    print : print circuit names which are missing services
    TEName : Ignore Circuits containing this string in the name
    slot : Ignore Circuits starting/ending on this slot
    circNameX : ONLY check circuits containing this string in the name
 
To check NP services against supervised services,
Proceed as follows: (note that circuit names given below are samples)
1. Print list of help:
/opt/nem/bin/private/nemtasktool -h
2. Show list of circuits not being part of service supervision:
/opt/nem/bin/private/nemtasktool -X print
3. Add service to Service supervision by name:
/opt/nem/bin/private/nemtasktool -X service --circuitNames P0nc_83_82_Prot
4. Add service to Service supervision by name including sections and ports:
/opt/nem/bin/private/nemtasktool -X service --circuitNames P0nc_83_82_Prot
--checkSections --checkPorts
5. Update service to Service supervision, add sections and ports (for all service):
/opt/nem/bin/private/nemtasktool -X service --checkSections --checkPorts
6. Update service to Service supervision, add sections and ports (for a named service):
/opt/nem/bin/private/nemtasktool -X service --circuitNames P0nc_83_82_Prot --checkSections --checkPorts
End of instruction 
Please note that the nemtasktool has other options that are not described herein since they are implemented and used for support activities only.