monitoring a port?
list Mike
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
▸
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
▸
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
▸
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
▸
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
▸
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
Hi,
▸
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