CRITICAL – Such alarms present |’alarms’=Such

[root@xxxx libexec]# ./check_ups_snmp.sh -H xxxxx -C xxxxxx -p ups_alarm
CRITICAL – Such alarms present |’alarms’=Such

I am getting above error and I checked in ups but no alarms and I removed logs also but no use.

Can any one help me where i did mistake.

Thanks in advance.