Skip to content

Instantly share code, notes, and snippets.

@bartowl
bartowl / nut-plugin-client
Created February 18, 2021 14:48 — forked from zefanja/nut-plugin-client
Check_MK integration for NUT (check plugin for Server and Client)
#!/bin/sh
if which upsc > /dev/null 2>&1 ; then
echo '<<<nut>>>'
for ups in $(upsc -l)
do
upsc $ups| sed "s,^,$ups ,"
done
fi