check_nt command changes

26 views
Skip to first unread message

SilkBC

unread,
Mar 10, 2011, 2:15:26 PM3/10/11
to GroundWork Monitor CE 6.0
Hello.

We are using GWCE and have NRPE installed on our server. We need to
monitor some remote Windows servers that are behind a NAT firewall.
SOme research indicates NRPE (or NSClient++ on the Windows servers) is
the best way to this.

For various reasons, we decided to forward a port on the NAT firewall
to each Windows server and then we would specify the port for Nagios
to check (with the check_nt plugin) for each host.

In looking at the "Service Check" tab for the host, it gives the
command definition as:

$USER1$/check_nt -p $USER19$ -s $USER4$ -H $HOSTADDRESS$ -v
CLIENTVERSION

The variable $USER19$ (for the port) is defined in the Nagios macros
as 1248. Can this be changed down in the "Command line" box, like
this:

check_nt!1249

(i.e., specify it to connect to port 1249), or is that $USER19$
variable hard-coded?

Thanks, in advance! :-)
Reply all
Reply to author
Forward
0 new messages