Category5.TV Community Forum
check_win_dns doesn't work - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: check_win_dns doesn't work (/thread-537.html)



check_win_dns doesn't work - KVIT - 06-24-2019

Hello guys,

I have a problem with the service "check_win_dns". It doesn't work.
I created a windows-server and added the service. But everytime i get this email notification:

3/3
Host:
DC03
Service:
check_win_dns
is
CRITICAL
for: 0d 0h 0m 1s
 
Status Information:
(No output on stdout) stderr: Cant call method val on an undefined value at /usr/local/nagios/libexec/check_wmi_plus.pl line 1105.

I checked the line, but honestly i don't understand it. Huh

My system is a raspy 3 B+ with the latest version of NEMS.

Hope you can help me.

Edit:

Hello Guys,

I just wanted to say how I solved this Problem.
I wrote my own checkcommand like this:
$USER1$/check_dns -H www.google.com -s $HOSTADDRESS$

Maybe some of you have the same issue and this could help you in some way.

With best regards KVIT


RE: check_win_dns doesn't work - Robbie Ferguson - 07-09-2019

This is in the To Do list:

check_wmi_plus has never contained the functionality for the documented checkdns feature. This has lead to some users saying the feature (which is an available check command in NEMS based on their docs) doesn't work. Need to remove this check command, and add a new one – perhaps check_dns $HOSTNAME$ $HOSTADDRESS$ which will ensure the DNS of the host matches.