Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verify Notification Agent is running

Status
Not open for further replies.

cdfly

Programmer
Jun 16, 2010
68
US
Hello,
Is there a way to verify that the Consumer Agent is running for notifications? Our notifications have quit working, all the notifications seem to be sitting in the LLEventQueue table but they never get moved out by Agent 9000.

Thanks
 
put debug=2, wantlogs=true
watch agents101.out and notify102.out

see if any of the agentid's are crashing mostly you can understand on notify102.out messages like trying to run agentid blah blah
failed

The load is numerically ascending which means when the agentcontroller wakes up and it finds it has to run

1000,2001,3001,5008,9909 on this inatant

suppose the 3001 agent dies because of bad code the next run the vicious cycle again does
agent 1001,2001 will run again and again until you fix or remove the offending agent


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Great, thanks appnair I see the logs now
 
if u applied the open text patch 2181385, please remove it and restart your services and u will be fine :)
 
It looks like there was an error with one of the custom modules that have been installed, the errors been corrected. The agents are running now and I can see the notifications are now being pushed from the LLEventQueue table but the email notifications are still not being received. When I look in the notify102_out log I can see the entry where ProcessMessagesAgent is running but it always logs Sent 0 messages.... All the params like the email address and such seem correct. Is there anyway to debug the agents via builder or is all by logging?

Thanks
 
if you have the builder then you can debug them and see what is happening, you can also check the relevant DB tables as well as the logs.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Great thanks,
Is the entry point the FiveMinuteAgent.Execute function in the LLAgent mod?

Thanks
 
The way to debug agents is like this

To test with builder...

- In opentext.ini set/add the following:
[options]
RunWithoutLogin=TRUE

- In the browser type the following URL:

It also can be done like this
The above approach is also very time consuming as the lowest you can fake is 5 mins, so if you run and debug 3000 you will have to wait 5 mins for that agent to run again so we use the exact code and call it from a RH.I wrote my approach in this article in the KB if you have a ID look at it.That way you do not have to rely on the standard methodolgy to debug this because agents are a complex thing by itself. Rarely is the timing to blame almost 100 % of the time it is bad code in one agent that spoils the run for the entire queue





Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
I appreciate it appnair, I'll try both your methods

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top