Is it possible to monitor specific ports on a remote host?

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

Moderators: Developers, Moderators

Post Reply
Bombe
Posts: 15
Joined: Wed Apr 25, 2007 9:16 pm

Is it possible to monitor specific ports on a remote host?

Post by Bombe »

After a couple hours of reading various posts, I'm unable to find what I'm looking for. I'm sure I've seen this before, but I'm unable to find anything about it.

I'd like to be able to test specific ports for a response. For example, I'd like to insure ssh on a remote host is accepting connections.

Is this possible with cacti? Has anyone done this before? Any help, links, specific documentation areas would be really appreciated.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

rrdtool does the storage/graphing of numerical data. Think about this when you want to collect a certain piece of data.

Sounds like you need to write a custom script which does the test. It then could return 0 for failure and 1 for success -- which then could be graphed by cacti/rrdtool.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

You can do this with the MANAGE plugin
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

New thold does it, I think...
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests