Hi everyone, I'm using Spectrum 9.2 H07 and have a question regarding process/service monitoring on server clusters.
I'll give an example. I've got 2 Windows servers that form a cluster. There is 1 process that is monitored on active server. When active server goes down, standby server becomes active and before mentioned process is started on it. I'm trying to figure out how to set up alarming for the cluster. I need an alarm when process is in stopped state on both servers. That means my business service is down. I've found server attributes that could help me but I can't connect them to each other, I can't get the info I need. These attributes are: ntClusterIsActive - can be true (1) or false (2). It's telling if this system is the primary or active node. ntServiceName - displays the list of services on a node. It's a list (table) of services. ntServiceState - displays current status of services on a node. It's also a list (table) of services. Each service has an instance for ntServiceName and ntServiceState. I'd like to create an alarm when following happens: 1. ntClusterIsActive is true. 2. ntServiceName is for example 'SNMP Service'. 3. ntServiceState is not equal to 1 (running). I've noticed that ntServiceName and ntServiceState instances are marked from 1, 2, 3,... to x (for example 100). When a new service is installed, it gets an Instance ID 101 (the last one available). When server is restarted, instances stay the same. When a service, with instance ID before instance ID of my monitored service, is removed, subsequently all instance IDs are changed. Is there a way to monitor service by its name? Because I don't see other way to monitor services on cluster servers... Srdačan pozdrav / Kind regards, ___________________ Omar Izetbegović Sedam IT d.o.o. HR - 10 000 Zagreb Koledovčina 2 Tel: +385 1 2353 738 Fax: +385 1 2353 707 Mob: +385 91 2353 738 www.sedamIT.hr ___________________ _________________________________________________________________________ Ova poruka sadrzi podatke povjerljive prirode, iskljucivo namijenjene osobama oznacenima kao primateljima te se pristup od strane bilo koje druge osobe smatra neovlastenim. Ukoliko niste oznaceni primatelj, svaka distribucija, kopiranje, umnozavanje ili otkrivanje sadrzaja trecim osobama je strogo zabranjeno i smatra se protuzakonitim. Ukoliko ste dobili ovu poruku, a niste oznaceni primatelj, molimo Vas da sto prije obavijestite posiljatelja poruke i unistite sve postojece kopije. Ova napomena takodjer potvrdjuje da je ova elektronicka poruka testirana na postojanje racunalnih virusa. Disclaimer: The information in this email is confidential and it is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any distribution, copying, duplication or disclosure is prohibited and may be unlawful. If you have received this email in error, please notify the sender immediately and destroy it, and all copies of it. This footnote also confirms that this email message has been swept for the presence of computer viruses. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
