Hi,
I did a search to do what I need but I did not find my answer...
I have many agents on many servers, but only one seems to be reloaded once a month more or less. I do not beleive that it is related to the agent version or something...
Is there a way to send a command through a test to reload the agent lets say every saturday morning?
I understant that an agent reloading itself is tricky, does it send a stop and start command on simply a restart command?
If it can't be done then I will live with it and reload the agent myself.
Thank you guys!
How to "reload" or "restart" Agent
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Not sure I understand the problem. Why exactly do you want to reload agent?
Passive RMA? Active RMA? Version? OS? Windows? Linux? Service Pack?
There is no such command.
But if you want to restart RMA started as Windows service, probably you can use simple script (powershell, vbscript, BAT file)
Regards
Alex
Passive RMA? Active RMA? Version? OS? Windows? Linux? Service Pack?
There is no such command.
But if you want to restart RMA started as Windows service, probably you can use simple script (powershell, vbscript, BAT file)
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Hi,
thank you for the quick answer and sorry for being unclear.
I made a typo in my first post: instead of "but only one seems to be reloaded once a month more or less" I meant "but only one needs to be reloaded once a month more or less."
It is a passive agent version 4.10 on Windows Server 2003 standard SP2
The problem comes from the fact that the agent at some point in time looses the access to do some tests that require a user access on a server (in my case: disk space). The weird thing though is that the agent is on the same server to where it cant test disk space on. The agent is installed on server ABC but after a few weeks it gets "RMA: 301 - Logon failure: unknown username or bad password" to test disk space on itself.
Reloading the agent resolves the issue.
this is why I want to reload it on a weekly basis. I think that I will create a batchfile called from a NT Scheduled task but really, I think that the agent should flush or renew it's credentials at least once a day or every other day to ensure continuity.
I hope that my explanations are more clear now
thank you for the quick answer and sorry for being unclear.
I made a typo in my first post: instead of "but only one seems to be reloaded once a month more or less" I meant "but only one needs to be reloaded once a month more or less."
It is a passive agent version 4.10 on Windows Server 2003 standard SP2
The problem comes from the fact that the agent at some point in time looses the access to do some tests that require a user access on a server (in my case: disk space). The weird thing though is that the agent is on the same server to where it cant test disk space on. The agent is installed on server ABC but after a few weeks it gets "RMA: 301 - Logon failure: unknown username or bad password" to test disk space on itself.
Reloading the agent resolves the issue.
this is why I want to reload it on a weekly basis. I think that I will create a batchfile called from a NT Scheduled task but really, I think that the agent should flush or renew it's credentials at least once a day or every other day to ensure continuity.
I hope that my explanations are more clear now

Last edited by Robert_in_MTL on Wed May 09, 2012 7:27 am, edited 1 time in total.
Are you checking mapped drive using Drive Free Space test? or you are using UNC test method and UNC path to shared resource?The problem comes from the farc that the agent at some point in time looses the access to do some tests that require a user access on a server (in my case: disk space). The weird thing though is that the agent is on the same server to where it cant test disk space on. The agent is installed on server ABC but after a few weeks it gets "RMA: 301 - Logon failure: unknown username or bad password" to test disk space on itself.
I think you may place BAT file on system where RMA is running and start this script using HostMonitor, RMA and "Execute external program" action. E.g. HostMonitor may trigger this action when test returns "Unknown" status; agent will start script that will restart agent service itself...Reloading the agent resolves the issue
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Thanks Alex,
Yes, I am using UNC test, but to a local drive.
I will create a "drive free space" test beside it to see if I chose the wrong one when I creasted these tests back then (a few years back)
Thank you for the hint for the batch file, this is a better solution if I ever need it
I am confident that the disk space test will resolve this issue right on.
Thanks again!
Yes, I am using UNC test, but to a local drive.
I will create a "drive free space" test beside it to see if I chose the wrong one when I creasted these tests back then (a few years back)
Thank you for the hint for the batch file, this is a better solution if I ever need it

I am confident that the disk space test will resolve this issue right on.
Thanks again!