Home » Categories » Check Library

Operating System Checks

Operating System Checks

Operating System checks are used to provide information about the operating system the agent is running on.

 

Nagios Plugins - NRPE

Nagios Plugins does not provide an operating system check.

NCPA

NPCA includes a system module that allows you to check the operating system version.

Command:

./check_ncpa.py -H 10.25.14.91 -t Str0ngT0k3n -M system/version

Output:

OK: Version was ['10.0.14393']

NSClient++ via check_nt

NSClient++ via check_nt does not provide an operating system check.

NSClient++ via check_nrpe

NSClient++ includes a module that allows you to check the operating system version.

Command:

./check_nrpe -H 10.25.14.10 -c check_os_version -a 'perf-config=*(ignored:true)'

Output:

OK: Windows Server 2016 (10.0.14393)

WMI

Check WMI Plus includes a module that allows you to check the operating system version.

Command:

./check_wmi_plus.pl -H 10.25.14.3 -u wmiagent -p Str0ngP@ssw0rd -m info -s os

Output:

OK - OS is Microsoft Windows 7 Professional , (null), Installation Timestamp=20141221000417.000000+660 (1059.7 days old)|'OS Installation Age'=1059.7days;

SNMP

SNMP has a common OID that allows you to check the operating system version.

Command:

./check_snmp -H 10.25.13.15 -C public -P 2c -o 1.3.6.1.2.1.1.1.0

Output:

SNMP OK - "Linux centos10.box293.local 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64" |

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Disk Space Checks
Viewed 89263 times since Thu, Nov 9, 2017
Load Checks
Viewed 60415 times since Thu, Nov 9, 2017
File And Folder Checks
Viewed 60713 times since Sun, Nov 26, 2017
CPU Usage Checks
Viewed 38807 times since Sun, Nov 12, 2017
Uptime Checks
Viewed 30800 times since Sun, Nov 26, 2017
Agent Checks
Viewed 13595 times since Tue, Nov 14, 2017
Scheduled Task Checks
Viewed 20249 times since Tue, Nov 28, 2017
Performance Counter Checks
Viewed 21812 times since Wed, Nov 15, 2017
Printer Checks
Viewed 9517 times since Tue, Nov 28, 2017
Memory Checks
Viewed 54883 times since Mon, Nov 13, 2017