Windows 2003 Service and Process monitoring and Alerting

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
rlund
Posts: 16
Joined: Fri Apr 11, 2008 9:19 am

Windows 2003 Service and Process monitoring and Alerting

Post by rlund »

Has anyone made any templates that monitor windows server 2003 device services and or processes?

I want to monitor both Services and processes on some of my 2003 servers, and I want a e-mail when they go down.


Thanks
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Search this forum - BSOD2600 has posted templates to monitor Windows processes, and Cigamit has posted templates to monitor Windows services.

You may also want to take a look at the MANAGE plugin, as it leverages these templates for monitoring.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
ame
Cacti User
Posts: 77
Joined: Fri Nov 25, 2005 6:15 am

Post by ame »

or better use nagios for these tasks....
rlund
Posts: 16
Joined: Fri Apr 11, 2008 9:19 am

Post by rlund »

I got the process monitoring to work, but even with the forums, I can only get the windows services to show up, but in thold, they show a 0 and not a 1
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

This is because you are not loading the required MIB when the poller starts. I'm not in the office at the moment, but if you search the forums for the Windows Services template, you will find a post from me that details the name of the MIB that needs to be loaded.

This took me a while to figure out - I have this working in my setup. Another way to get this working is to install plugin Manage 0.6 - this is able to detect service states using vbscript or perl as the poller, and will query the state of the service using WMI.

Hope this helps.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
rlund
Posts: 16
Joined: Fri Apr 11, 2008 9:19 am

Post by rlund »

Is this something unique to each server, or are these mibs the same for every device?

if so, would it be something exportable?

Otherwise, I will look at the forum.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

MIBS are the same for every device. The one you are looking for is SNMPv2-SMI.txt. Also ensure that the version of SNMP is set to 2.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
rlund
Posts: 16
Joined: Fri Apr 11, 2008 9:19 am

Post by rlund »

My mibs are there, and I have my host set to snmp v 2.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hmm - I suspect that the OID is possibly being truncated - there was a post a while back about this. See if you can find it - if not, come back here and let me know.

I will post the php script that the Windows Services template uses. Hopefully, this will help.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests