mcktr / check_tr64_fritz

Icinga 2 Plugin to check a Fritz!Box
GNU General Public License v2.0
30 stars 10 forks source link

Fix wrong attribute usage in update function #52

Closed mcktr closed 6 years ago

mcktr commented 6 years ago

This fixes the usage of the wrong attribute in the update function.

fixes #51

mcktr commented 6 years ago

Current output:

./check_tr64_fritz -P <PASSWORD> -f update
OK - No Upgrade available | update_pending=0

Testing becomes a bit difficult: I don't have a Fritz!Box with a pending update.

mcktr commented 6 years ago

Output with a pending update:

./check_tr64_fritz -P <PASSWORD> -f update
CRITICAL - Upgrade available | update_pending=1

Will merge now.