Messages in the log file

The nco_http utility can make extensive entries in the probe's log file indicating the progress of each operation. These messages can help isolate problems with a request, such as a syntax problem in a command.

To obtain the detailed log information, set the probe's MessageLevel property to debug. This enables the logging of the additional information that tracks the progress of a command's execution. For example, the following shows the progress of a resync command:

Information: I-UNK-000-000: NSProbeBidirCB: Thread id is 0x94d9008 
{command:resync,params:[]}
Information: I-UNK-000-000: Probewatch: Starting the resynch of alarm list
Debug: D-UNK-000-000: Rules file processing took 28 usec.
Debug: D-UNK-000-000: Flushing events to object servers
Debug: D-UNK-000-000: Flushing events to object servers
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.bidi.CommandHandler.
executeCommand ENTERING
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.bidi.CommandHandler.
checkParams ENTERING
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.bidi.CommandHandler.
checkParams EXITING
Debug: D-JPR-000-000: Send request for active alarms
Information: I-UNK-000-000: Probewatch: Finished the resynch of alarm list

These messages can also help to isolate problems with a command. For example, the following shows the log messages for an unackAlarm command that contained an invalid alarm identifier.

Information: I-UNK-000-000: NSProbeBidirCB: Thread id is 
0x9ec8b48 {"command":"unackAlarm","params":[{"alarmId":"abcd","emsId":"EMS1",
"managedElementId":"ME1","username":"root"}]}
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.
bidi.CommandHandler.executeCommand ENTERING
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.
bidi.CommandHandler.checkParams ENTERING
Debug: D-JPR-000-000: com.ibm.tivoli.netcool.omnibus.probe.
bidi.CommandHandler.checkParams EXITING
Debug: D-JPR-000-000: Unacknowledge alarm with alarm ID: abcd on EMS:  
and ME: ME1, and username: root
Information: I-JPR-000-000: There are : 1 alarms that failed to be unacknowledged.