You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./check_resmon_metric -H myhost -M Core::SmfMaintenance -C services -m services -r '^$'
Use of uninitialized value $value in pattern match (m//) at /etc/nagios3/CS.conf.d/check_resmon_metric line 378.
Use of uninitialized value $value in concatenation (.) or string at /etc/nagios3/CS.conf.d/check_resmon_metric line 383.
OK: resources -
and result in CRITICAL
I propose to avoid false critical status check if $value is not defined and if so define as empty string, seriv@cd3c2b0
The text was updated successfully, but these errors were encountered:
I'd like to write check for nagios if a string result is empty, like
When curl shows this field is empty:
the ./check_resmon_metric gives
and result in CRITICAL
I propose to avoid false critical status check if $value is not defined and if so define as empty string, seriv@cd3c2b0
The text was updated successfully, but these errors were encountered: