Events are not generated when the conditions selected in the Knowledge Script properties are met. (NETIQKB53436)

  • 7753436
  • 02-Feb-2007
  • 27-Jan-2011

Environment

NetIQ AppManager 6.x
NetIQ AppManager 7.0.x

Situation

Events are not generated when the conditions selected in the Knowledge Script properties are met.

The log file mctrace.log on the AppManager agent contains the following message:

1150380278 [1528] MSActions : msg 0 size 107001150380278 [1528] myMakeEvent: jobp xb1b4008 msg xb163f40 size 5351 no event fired1150380278 [1528] myMakeEvent: jobp xb1b4008 msg xb163f40 size 53511150380278 [1528] mcextcore-MSActions: done for job <53587_QDBSERVER1099337223_1099337224>1150380278 [1528] MSActions: done with rc 1

Resolution

In the advanced properties of the job, the option  "Raise event if event condition occurs..." is selected to generate an event only after more than one occurrence, so the job does not event immediately when the condition is satisfied. The agent's log reports that no event was fired, or created, for each occurrence where the condition is satisfied but an event is not ready to be generated. 

For example, a user creates a job based on NT_CPULoaded, sets the schedule to run every 5 minutes, sets the thresholds as desired, and in the advanced properties, sets the option  "Raise event if event condition occurs...".  to 3 times in 3 iterations. 

On the first iteration, the threshold is exceeded.  The job will tally the occurrence, but will not generate an event.  The 'no event fired' message will appear in the agent's mctrace.log. 

On the second iteration, the threshold is again exceeded, the job increases the tally of occurrences by 1, and again the 'no event fired' message appears in the log. 

On the third iteration, if the threshold is again exceeded, an event will be generated and sent back to AppManager.  At this time, the tally is reset to 0 occurrences, and the process is repeated as the monitored threshold is exceeded.

Cause

The job is configured to generate an event after more than one occurrence. 

Additional Information

Formerly known as NETIQKB53436

Additional information regarding Advanced Job Settings can be found in the AppManager User Guide or by pressing F1 for help when viewing a job's Advanced Properties.