what i did was update check_nwc_health on my nagios and worker server.**ePN /usr/local/nagios/libexec/check_nwc_health: plugin did not call exit()
**ePN /usr/local/nagios/libexec/check_nwc_health: "Use of uninitialized value $opt in string eq at /usr/share/perl5/Getopt/Long.pm line 487,".
nagios running on rhel6
and worker running on rhel7
it was working until i update the plugin.
on master :
[root@master~]# find / -iname long.pm
/usr/share/perl5/Getopt/Long.pm
on worker
[root@worker~]# find / -iname long.pm
/usr/share/perl5/vendor_perl/Getopt/Long.pm
Kindly assist. thanks