Monitoring Specific Port
Marc Powell
mpowell at ena.com
Fri Jun 6 21:48:21 CEST 2003
Yes, it's one of the core plugins --
[root at oscar libexec]# ./check_tcp --help
check_tcp (nagios-plugins 1.3.0-alpha1) 1.1.1.1
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]
[-e expect] [-W wait] [-t to_sec] [-v]
Options:
-H, --hostname=ADDRESS
Host name argument for servers using host headers (use numeric
address if possible to bypass DNS lookup).
-p, --port=INTEGER
Port number
-s, --send=STRING
String to send to the server
-e, --expect=STRING
String to expect in server response -W, --wait=INTEGER
Seconds to wait between sending string and polling for response
-w, --warning=INTEGER
Response time to result in warning status (seconds)
-c, --critical=INTEGER
Response time to result in critical status (seconds)
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
-v Show details for command-line debugging (do not use with nagios
server)
-h, --help
Print detailed help screen
-V, --version
Print version information
--
Marc
> -----Original Message-----
> From: Carey Heck [mailto:check at STRASZ.com]
> Sent: Friday, June 06, 2003 1:26 PM
> To: nagios-users at lists.sourceforge.net
>
> Hello all. I am curious if I can monitor a specific TCP port
with
> nagios? Say for example, TCP port 9980?
> I checked the faq for tcp port, and couldnt get the info I needed.
> If nagios cant provide that type of check, does anyone know of a
service
> out there that can?
>
> Thanks for your help in advance.
>
> check
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list