Your check command is incorrect.  We'll need to see your command
definition for 'check_tcp' to tell you for sure what's wrong, though.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html

On Wed, 2008-06-18 at 10:20 -0700, Jim Miller wrote:
> I have the following in my windows.cfg file
> define service{
>       use                       generic-service               
>       host_name                   my host name
>       service_description         DICOM
>       check_command       check_tcp! -H my ip -p 104
>       }
> but it returns a status of unknown in the Nagios dashboard. I get the 
> following message.
> check_tcp: Port must be a positive integer 
> I have run the check_tcp command from the command line (minus the !) 
> successfully with that same syntax. Any ideas?
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ Nagios-users mailing list 
> Nagios-users@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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to