Xymon Mailing List Archive search

monitoring a port?

7 messages in this thread

list Mike · Fri, 27 Oct 2006 15:05:20 -0500 ·
I know using bb-hosts there are tags to watch for ftp and other ports.
Is there a syntax to monitor a specific port by port number?

10.1.1.1	host	# hpjd:9100

Giving the above line as an example/question on monitoring a HP Jet
Direct device at port 9100.

Mike
list Henrik Størner · Fri, 27 Oct 2006 22:36:33 +0200 ·
quoted from Mike
On Fri, Oct 27, 2006 at 03:05:20PM -0500, Mike wrote:
I know using bb-hosts there are tags to watch for ftp and other ports.
Is there a syntax to monitor a specific port by port number?

10.1.1.1	host	# hpjd:9100

Giving the above line as an example/question on monitoring a HP Jet
Direct device at port 9100.
Provided you've defined "hpjd" in bb-services, this will do just what
you want it to.


Regards,
Henrik
list Mike · Fri, 27 Oct 2006 20:48:21 +0000 (UTC) ·
quoted from Henrik Størner
On 2006-10-27, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Fri, Oct 27, 2006 at 03:05:20PM -0500, Mike wrote:
I know using bb-hosts there are tags to watch for ftp and other ports.
Is there a syntax to monitor a specific port by port number?

10.1.1.1	host	# hpjd:9100

Giving the above line as an example/question on monitoring a HP Jet
Direct device at port 9100.
Provided you've defined "hpjd" in bb-services, this will do just what
you want it to.
I had forgotten about bb-services. Thanks.

Mike
list Mike · Fri, 27 Oct 2006 21:21:57 +0000 (UTC) ·
quoted from Mike
On 2006-10-27, Mike <user-b6f75e481c45@xymon.invalid> wrote:
On 2006-10-27, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Fri, Oct 27, 2006 at 03:05:20PM -0500, Mike wrote:
I know using bb-hosts there are tags to watch for ftp and other ports.
Is there a syntax to monitor a specific port by port number?

10.1.1.1	host	# hpjd:9100

Giving the above line as an example/question on monitoring a HP Jet
Direct device at port 9100.
Provided you've defined "hpjd" in bb-services, this will do just what
you want it to.
I had forgotten about bb-services. Thanks.
Does anyone have definitions for mysql, ntp, syslogd, snmp, etc? Does
bb-services only work for tcp or will it work also for udp?

Mike
list Charles Jones · Fri, 27 Oct 2006 15:36:23 -0700 ·
quoted from Mike
Mike wrote:
On 2006-10-27, Mike <user-b6f75e481c45@xymon.invalid> wrote:
  
On 2006-10-27, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
    
On Fri, Oct 27, 2006 at 03:05:20PM -0500, Mike wrote:
      
I know using bb-hosts there are tags to watch for ftp and other ports.
Is there a syntax to monitor a specific port by port number?

10.1.1.1	host	# hpjd:9100

Giving the above line as an example/question on monitoring a HP Jet
Direct device at port 9100.
        
Provided you've defined "hpjd" in bb-services, this will do just what
you want it to.
      
I had forgotten about bb-services. Thanks.
    
Does anyone have definitions for mysql, ntp, syslogd, snmp, etc? Does
bb-services only work for tcp or will it work also for udp?
  
You can check /etc/services on most unix boxes to see a port to service 
matching.
msql = 3306
ntp = 123
syslogd = 514 (udp)
snmp = 161

I don't think Hobbit can monitor UDP services (that it doesnt already 
support) without a custom extension script.

-Charles
list Henrik Størner · Sat, 28 Oct 2006 09:09:08 +0200 ·
quoted from Mike
On Fri, Oct 27, 2006 at 09:21:57PM +0000, Mike wrote:
Does bb-services only work for tcp or will it work also for udp?
Only tcp.


Regards,
Henrik
list Charles Goyard · Mon, 30 Oct 2006 10:26:41 +0100 ·
Hi,
quoted from Charles Jones

Provided you've defined "hpjd" in bb-services, this will do just what
you want it to.
I had forgotten about bb-services. Thanks.
Does anyone have definitions for mysql, ntp, syslogd, snmp, etc?
 ** Don't do that for mysql ! **

Mysql has an basic intrusion/weird-client prevention system that
blacklists hosts that connect it without using the mysql protocol. So
your test will keep green for a few cycles, then turn red. And then you
have to log into mysql and do a "flush hosts". [got bitten once]


-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31