I have a scheduled agent that polls disk space on other servers in the same domain. Here's the problem snippet of code;
' Get our drive information from the server
Print "Polling " + docserver.Abbreviated
response = session.Sendconsolecommand(doc.server(0), "Show stat disk")
It polls all of the servers in the domain, but when it does the command on the server where the agent is running, I get the error;
AMgr: Agent ('OSMonitor' in 'administration/OSMonitor.nsf') error message: Notes error:
The connection has timed out. (Agent Manager0x332E)
I could understand if the problem was when it was polling a different server, but am mystified as to why it would time out on the server where it's running.
It's not every time. It does sometimes run successfully, but it seems to fail about 75% of the time.