Hi,
I've been struggling through this for the past few days and unable to come up with a solution. I am trying to set the threshold value to trigger a warning and a critical alert for the following Amazon RDS metrics (freestoragespace and freeablememory). The metric return the value in bytes which is fine and I tried setting the following arguments, but it does not work as expected. Can anybody provide insight into what i'm doing wrong?
Expected outcome of the below example is that NagiosXI will trigger a critical alert since the average 1141714944 < $ARG5$ 1150326400, but it is green in the UI. I tried bytes, gb, mb, %, and none of them gives me the expected outcome.
EX:
CloudWatch Metric: FreeableMemory, Average: 1141714944.00, Maximum: 1142493184.00, Minimum: 1140936704.00
RUBYOPT=rubygems ruby /usr/local/nagios/libexec/check_cloudwatch_status.rb -a $HOSTADDRESS$ -i $ARG1$ -f $ARG2$ -D $ARG3$ -w $ARG4$ -c $ARG5$
$ARG4$ 1160326400
$ARG5$ 1150326400
Thanks
check_cloudwatch_status plugin
Re: check_cloudwatch_status plugin
Think I figured it out. I'll confirm tomorrow and thread can be resolved then.
Looks like i just needed a colon after the threshold value. This may be closed.
Thanks
Looks like i just needed a colon after the threshold value. This may be closed.
Thanks
Re: check_cloudwatch_status plugin
Excellent, glad you got it sorted out!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!