System and environment info
icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.3-1)
System information:
Platform: Ubuntu
Platform version: 18.04.6 LTS (Bionic Beaver)
Kernel: Linux
Kernel version: 5.4.0-1072-aws
Architecture: x86_64
PHP 7.3.33-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Nov 19 2021 06:24:43) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.33-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
I’m looking to monitor windows system uptime.
I’ve found some documentation online, but I haven’t been able to get it working.
I’m missing the check_uptime plugin file and I’m not able to find one online that works.
Has anyone been able to get this checker to work? If so, how? you have any docs to links to share? possibility the plugin file?
Thank you for all the info. I will start going through it.
I was able to get the check_uptime working, but it is reporting uptime for my icinga server, not the client.
It seems like I’m close.
Thank you very much for the help, but I’m not going to lie, I’m a little lost right now. I cannot wrap my head around it.
This is what I’m seeing for my Windows machine. Its the uptime of my Icinga server.
will be searched in the location defined by “const PluginDir” in /etc/icinga2/constants.conf.
You wrote, that you have other checks on the host that use NSClient++ and work, how does the object CheckCommand look for them?
How does the “object Service” look that is using the CheckCommand “check-uptime”?