
Hello All,
Am using Portal and BEM for infrastructure monitoring.
Problem is with the RSMs. Some times RSMs utilizes more memory and stops collecting the data from managed nodes.
If i restart the RSM services when it uses more memory. Again it will start collecting data with out any issue.
My idea is to automate this restarting the RSM service using BEM, by adding script.
Any suggestions on this...? will this work..? Any body tried this.. any scripts available with the rule written on BEM?
Thanks,
Ganesh
Hi Ganesh,
You can create specific selector for the event of Memory Usage or available of the RSM, then create Remote action policy. in this case you need to create your own script inside BEM for controling service in your RSM machine.
I have .net script (.net 2.0) for controling service on windows using .net remoting method. but of course if you have BEM on windows machine.
Rgds,
Sony
Hello Sony,
Thanks for the reply. Can I get that script.
I have installed BEM on Windows only. If I get a script, it will be really helpful...
Thanks,
Ganesh
I'll give an update about the script on monday. because I left my disk at home.
Rgds,
Hello Sony,
Any update on this..?
Can you pls let me know about that script.
You can fwd that to ganesh.suresh@unisys.com
Thanks in Advance,
Ganesh
Hi Ganesh,
I don't have enough time to looking for the script at home.
I'll do it this weekend, and email you a.s.a.p
Thanks n regards,
Sony
You can create a remote execution action in BEM/IAS and which internally fires a command on remote windows box using psexec.
So simple command like "net start <service name>" will work.
Then automate it using the remote execution policy.
Regards
GG
I think, GG also give a good solution to solve this issue. and it will be more simple to use.
rgds,
Hello Ganesh,
i can provide you with the script. let me know tomo when you in office ![]()
now dont forget to give brownie points ![]()
under
C:\Program Files\BMC Software\Impact\server\etc\ash1\kb\bin.rule.mrl
execute Event_Status :EVENT ($EV)
when $EV.status: equals OPEN
{
execute ($EV, run ,[] ,NO) ;
}
when $EV.severity: equals WARNING
{
$EV.msg = abc ;
}
END
under w4 folder:
@echo %PATH% >> c:\A.TXT
@echo off
PsTools\psexec.exe \\inblr-sureshg -u eu\sureshg -p password -c C:\batch.bat
netstat -nob >> C:\abc.txt
Hello Mahfooz,
Thank you so much..
This will be really helpful..
Thanks,
Ganesh