Knowing the Windows version via Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mikimpc
Posts: 8
Joined: Tue Sep 22, 2015 10:50 am

Knowing the Windows version via Nagios Core

Post by mikimpc »

Hi all, I've been looking unsuccessfully way to know the Windows version of our office computers by Nagios Core 4.1.1 in Ubuntu 14.
Thank you.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Knowing the Windows version via Nagios Core

Post by eloyd »

NSClient will tell you this information. Details are at a previous thread: https://support.nagios.com/forum/viewto ... 7&start=10
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Knowing the Windows version via Nagios Core

Post by rkennedy »

That thread looks to be very useful, thanks @eloyd!

Does that answer your question @mikimpc?
Former Nagios Employee
mikimpc
Posts: 8
Joined: Tue Sep 22, 2015 10:50 am

Re: Knowing the Windows version via Nagios Core

Post by mikimpc »

Thanks, it was much easier than I thought!
Below I write the command and service that I have created ....

define command {
command_name check_windows_OS
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_os_version
}

define service {
service_description Info OS
host_name my_computer
check_command check_windows_OS
}
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Knowing the Windows version via Nagios Core

Post by rkennedy »

Glad to see you got it figured out! Do you mind if I close this thread as it's resolved now?
Former Nagios Employee
Locked