Trouble monitoring service
Subhendu Ghosh
sghosh at sghosh.org
Fri May 6 16:08:59 CEST 2005
On Fri, 6 May 2005, Timothy Washburn wrote:
> I am trying to monitor a Symantec service on a Windows 2000 server using
> Nagios 1.2 on Fedora. I am able to run the check_nt_service command
> from a command line but when I plug everything into Nagios I get a
> check_nt: Unknown argument: (null) message. Below you will find my
> entries into the configuration files for these checks. Thank you for
> any help that you can give.
>
>
>
> # Service definition
>
> define service{
>
> use
> generic-service ; Name of service template to use
>
>
>
> host_name RL2KNAV2
>
> service_description Symantec Service
> Check
>
> is_volatile 0
>
> check_period 24x7
>
> max_check_attempts 3
>
> normal_check_interval 3
>
> retry_check_interval 1
>
> contact_groups windows-admins
>
> notification_interval 120
>
> notification_period 24x7
>
> notification_options w,u,c,r
>
> check_command
> check_nt_service!SMSSMTP
>
> }
>
>
>
>
>
> 'Service' command definition
>
> define command{
>
> command_name check_nt_service
>
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -v
> SERVICESTATE -p 1248 -l
>
>
your argument is ignored in the command definition - need to add $ARG1$
--
-sg
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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