Xymon Mailing List Archive search

monitoring a port?

list Charles Jones
Fri, 27 Oct 2006 15:36:23 -0700
Message-Id: <user-cf33babbaa9b@xymon.invalid>

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