Service monitoring: (how) can it be done?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ArondeParon
Posts: 6
Joined: Sat Dec 05, 2009 7:41 am

Service monitoring: (how) can it be done?

Post by ArondeParon »

Hi everyone,

I just installed Cacti + Thold on of my servers and have it working perfectly for CPU/Memory/Disk monitoring.

However, is it also possible to perform queries on certain services?
For example:
  • Check wether Apache is running on a remote server
  • Check wether MySQL is running on a remote server
  • Check wether Postfix is running on a remote server
  • Etc.
I have searched both the Google as the forums for an answer to this, but have not been able to find anything yet.

Is Cacti fit to do this, or should I use another tool?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Since you have PIA installed, look at the Monitor plugin. Otherwise, can use snmp to simply query if a process name is running or not... write a script to see if a port responds on a certain server, etc.
ArondeParon
Posts: 6
Joined: Sat Dec 05, 2009 7:41 am

Post by ArondeParon »

Thanks for the quick reply, I'll look into writing custom scripts for this.

Doesn't the monitor plugin simply check wether a server is online? I don't see any options to query specific data.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

ArondeParon wrote:Thanks for the quick reply, I'll look into writing custom scripts for this.

Doesn't the monitor plugin simply check wether a server is online? I don't see any options to query specific data.
Correct -you actually need the MANAGE plugin for this, along with Cigamit's Windows Services scripts and templates.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

mcutting wrote:Correct -you actually need the MANAGE plugin for this, along with Cigamit's Windows Services scripts and templates.
Opps, that's what I meant ;)
ArondeParon
Posts: 6
Joined: Sat Dec 05, 2009 7:41 am

Post by ArondeParon »

I just took a look at the Manage plugin and installed it, but it seems terribly broken with Cacti 0.8.7e. Several SQL tables / columns seem to be missing and I am unable to save TCP port templates under a device, which makes it pretty much useless.

Is there any recent version of this plugin that works with the lastest Cacti build?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 3rd link of my sig for aplugin repository.
There are a lot of contributions from the community. But not all of them are in sync with latest cacti.
Starting with 088, we will remove some issues by integration Plugin Architecture into core code.
But there will still be a difference between plugins supported by The Cacti Group and community contributions. We will put every effort in providing a head start for plugin developers, but it all depends on their time
R.
ArondeParon
Posts: 6
Joined: Sat Dec 05, 2009 7:41 am

Post by ArondeParon »

Thanks for the reply and link to the repository. I'm sure it will come in handy. However, the manage plugin seems not to be included. Is there any version available that is compatible with the latest Cacti build?

If not, are there any alternatives I could use?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ArondeParon wrote:Thanks for the reply and link to the repository. I'm sure it will come in handy. However, the manage plugin seems not to be included. Is there any version available that is compatible with the latest Cacti build?
This should be asked in the MANAGE thread of the plugin forum.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests