Taking a bit of a side track from Open UI topic here. There are very few of the shelf tools available in the market when it comes to monitoring your Siebel servers which can
- monitor servers and components at a micro level
- Alert admin users before your business starts complaining.
- Easily configurable
- a job which monitors the servers status and alert set of users by email if any of the server is not Online.
- a job which monitors set of listed components and alert users if any of them in trouble via email
use case 1: To monitor servers (by status)
The need:
At every 10 mins, (or at desired interval)
- Run srvrmgr command
- Fire command: “list server”
- Capture the output and process it. Any server not in status of Running, include it for emailing.
- eMail if any servers in trouble.
- vBINPATH = "D:\SIA81\siebsrvr\BIN\" '#path where your srvrmgr command is
- Recipients = "shivakumarub@gmail.com;abc@abc.com" '#you can add as many emails you want separated by ;
- Sender = “SiebMon@gmail.com” ‘#Change it as needed
- sSmtpServer = "xxxx" ‘#SMTP server name
- sSmtpUser = "xxxx" ‘#SMTP user name
- sSmtpPword ="xxxx" ‘#SMTP password
Use case 2: To monitor list of components
Now, let’s look at bit more complicated use case to monitor a given list of components.
Side note: In my environments, we have components enabled on all the servers. The servers on which they need to run are set to Auto Mode so that they come up automatically when the services/servers are restarted. On rest of the servers where we don’t want them to be running, the Mode is set to Manual and they are in Shutdown status. Above setup will really helpful in case you want to scale your environment – all you need is to set the Mode to Auto and bring them up and they will immediately start serving your users and processes without any outage. Also, handy when you want to increase the logging level – you can just mention the component without server as the comp is enabled on all.
The need: We need a file containing list of components to be monitored by our custom component monitor - COMPList.txt provided at the bottom. Remember above side note : Auto - Running & Manual - Shutdown.
At every 10 mins, (or at desired interval)
- run srvrmgr command
- fire command: “list comps”. This will list all the components and their status
- capture the output and process it. Loop through the srvrmgr output file
- if the component is listed in your complist file and it’s mode is Auto, then check it’s status. If not Running then it is in trouble and flag it for sending email.
- If the component is listed in your complist file and it is reaching max task (90% as set in variable in the code) then flag it for sending email.
- eMail if any components in trouble along with details to the admin users.
- vBINPATH = "D:\SIA81\siebsrvr\BIN\" '#path where your srvrmgr command is
- Recipients = "shivakumarub@gmail.com;abc@abc.com" '#you can add as many emails you want separated by ;
- Sender = SiebMon@gmail.com
- sSmtpServer = "xxxx" ‘#SMTP server name
- sSmtpUser = "xxxx" ‘#SMTP user name
- sSmtpPword ="xxxx" ‘#SMTP password
All I am doing above is giving you simple hints. it can be extended to any level. The solution can be extended to build a dashboard (URL based) where the info can be shown to the users which gets refreshed at regular intervals.
Let me know what you think of above simple framework for monitoring your Siebel.
Files for Server monitoring:
SIEB_SRVR_RUN.vbs //remember to save it as .vbs on your local
RunSrvrMon.bat //remember to save it as .bat on your localFiles for Component monitoring:
COMPList.txt // this file contains the comps to be monitored for status and maxtask
SIEB_COMP_RUN.vbs //remember to save it as .vbs on your local
RunCompMon.txt // remember to save it as .bat on your localCheers,
Shiv
Great blog! Really awesome I got more information from this blog. Thanks for sharing with us.thanks!!
ReplyDeleteJava training in Chennai
Java Online training in Chennai
Java Course in Chennai
Best JAVA Training Institutes in Chennai
Java training in Bangalore
Java training in Hyderabad
Java Training in Coimbatore
Java Training
Java Online Training
Thank you for the information. it is very useful and informative
ReplyDeleteangular js training in chennai
angular training in chennai
angular js online training in chennai
angular js training in bangalore
angular js training in hyderabad
angular js training in coimbatore
angular js training
angular js online training
Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information .
ReplyDeleteacte reviews
acte velachery reviews
acte tambaram reviews
acte anna nagar reviews
acte porur reviews
acte omr reviews
acte chennai reviews
acte student reviews
Yes, of course, you need to learn JavaScript because it has a lot of usage in the web developing world, and its the only language which runs on the browser. And the average salary of a JavaScript Expert is about $112,436 per year in the united states.keep up!!
ReplyDeleteAndroid Training in Chennai
Android Online Training in Chennai
Android Training in Bangalore
Android Training in Hyderabad
Android Training in Coimbatore
Android Training
Android Online Training
Superb blog post! And this blog clearly explain about for useful information. I would Thanks for sharing this wonderful content.its very useful to us. Keep it up!
ReplyDeleteSoftware Testing Training in Chennai
Software Testing Online Training in Chennai
Software Testing Courses in Chennai
Software Testing Training in Bangalore
Software Testing Training in Hyderabad
Software Testing Training in Coimbatore
Software Testing Training
Software Testing Online Training
Thanks for sharing article like this. The way you have stated everything above is quite awesome. Keep blogging like this. Thanks.
ReplyDelete| Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course | CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course