Citrix ICA q1: does check_tcp -H metaframe -p 1494 -e 'ICA' work for anyone ?
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Oct 21 08:14:05 CEST 2004
Dear Folks,
Is anyone using check_tcp, with an expect string, for a rudimentary
check of Citrix ICA/Metaframe servers ?
tsitc> ./check_tcp -H 10.1.2.224 -p 1494 -e 'ICA' -t 2
Socket timeout after 2 seconds
tsitc> ./check_tcp -h
check_tcp (nagios-plugins 1.3.1) 1.13.2.3
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may
redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 1999 Ethan Galstad (nagios at nagios.org)
This plugin tests TCP connections with the specified host.
Usage: check_tcp -H host -p port [-w warn_time] [-c crit_time] [-s
send_string]
[-e expect_string] [-q quit_string] [-m maxbytes] [-d delay]
[-t to_sec] [-v]
(but also the alpha release of 1.4 plugins)
Here seems to be the relevant part of the trace
0.006532 10.1.2.252 -> 10.1.2.224 TCP 4606 > ica [SYN] Seq=0 Ack=0
Win=57344 Len=0 MSS=1460 WS=0 TSV=588114048 TSER=0
0.006669 10.1.2.224 -> 10.1.2.252 TCP ica > 4606 [SYN, ACK] Seq=0 Ack=1
Win=64512 Len=0 MSS=1460 WS=0 TSV=0 TSER=0
0.006701 10.1.2.252 -> 10.1.2.224 TCP 4606 > ica [ACK] Seq=1 Ack=1
Win=57920 Len=0 TSV=588114048 TSER=0
0.008198 10.1.2.224 -> 10.1.2.252 TCP ica > 4606 [PSH, ACK] Seq=1 Ack=1
Win=64512 Len=6 TSV=58844105 TSER=588114048
The last packet has the 'ICA' string in ASCII among the 6 bytes sent by
the server (10.1.2.224).
0 1 2 3 4 5
0040 bc 81 7f 7f 49 43 41 00 ....ICA.
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041021/706f555a/attachment.txt>
More information about the Users
mailing list