glensc / nagios-plugin-check_raid

Nagios/Icinga/Sensu plugin to check current server's RAID status ⛺
144 stars 84 forks source link

Unexpected parse at ./check_raid.pl line 3578, <$fh> line 6. #204

Closed duven87 closed 3 years ago

duven87 commented 3 years ago

Hi, yesterday I updated my Debian Server from Jessie to Stretch and nagios_plugin_check_raid.pl works not more :(

I cant see where is the problem.

Someone can help me please?

check_raid 4.0.10
Visit <https://github.com/glensc/nagios-plugin-check_raid#reporting-bugs> how to report bugs
Please include output of **ALL** commands in bugreport

DEBUG EXEC: /sbin/dmsetup status --noflush at ./check_raid.pl line 503.
DEBUG EXEC: /proc/mdstat at ./check_raid.pl line 503.
Unexpected parse at ./check_raid.pl line 3578, <$fh> line 6.
duven87 commented 3 years ago

SOLVED: I am not sure which of these commands solved the problem but I ran the following commands and on reboot it worked: apt install --reinstall mdadm sudo update-grub sudo grub-mkconfig -o /boot/grub/grub.cfg reboot