using nagios, no commands.cfg
Subhendu Ghosh
sghosh at sghosh.org
Sun Nov 3 16:03:05 CET 2002
Copy the commands into a temp file. run convertcfg (from nagios/contrib)
to transform it into the object template format. Copy the results into you
checkcommands.cfg file.
-sg
On Sun, 3 Nov 2002, Kai Backhaus wrote:
> Hello,
> I was just installing check_nt on my WIN NT 4.0 PC without problems.
> on my linux machine check_nt came with the nagios_plugins.
> the check_nt readme file says that I have to copy
>
> # NSClient
> command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
> USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
> CPULOAD -l $ARG1$
> ....
>
> into the commands.cfg in /usr/local/nagios/etc/
>
> but there isn't any!!
> there is only a checkcommands.cfg using a different syntax!
>
> what shall I do now?
>
> Can anybody help me?
>
> Thx for helping me in advance :-)
>
> Regards
>
> Kai
>
--
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
More information about the Users
mailing list