Using check_win_net_usage monitoring plugin with Windows host running with German language

Written by - 0 comments

Published on - Listed in Monitoring Windows


The monitoring plugin check_win_net_usage might not work, when the target Windows host is running on a different language than English. Seen today with a test user:

$ ./check_win_net_usage.sh -H windowshost -p 12489 -d
$

Just an empty response was shown. This happened because in the background the plugin uses check_nt to display all the entries with "Network Interface". In a Windows host running on pure German, it won't find any interfaces as they're named "Netzwerkadapter".

Today's new version 20190708 of check_win_net_usage allows setting a language for the target Windows system using a new parameter -l. Currently only -l de is possible. The default remains English (no input necessary).

This will now allow to correctly detect the network interfaces on a German Windows system, too:

$ ./check_win_net_usage.sh -H windowshost -p 12489 -d -l de
Microsoft Kernel Debug Network Adapter,Ethernet-Adapter für vmxnet3,isatap.{ECBFEE12-D71F-4271-8D44-06A874E8E013},Teredo Tunneling Pseudo-Interface

The documentation for this new parameter was updated.


Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   OpenSearch   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder