I have AWS SSD drives with provisioned I/O of 1050 IOPS. How can I monitor the same with nagios when it reaches 90% of its I/O capacity ?
You guys are always helpful. Thanks in advance.
Monitor aws disk I/O
Re: Monitor aws disk I/O
I would presume it is virtualized on top of the disks. You could try to check for io wait . . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 19
- Joined: Tue Nov 04, 2014 1:49 am
Re: Monitor aws disk I/O
I have found a plugin for the same but it is asking the below values which I doubt for mine (1050 IOPS):
IO Check Mode
Total Transfers/sec :
Read IO/Sec :
Write IO/Sec :
Bytes Read/Sec :
Bytes Written/Sec :
Queue Mode
Average size of requests:
Queue length of requests:
Wait Time Mode
Avg I/O Wait Time (ms):
Avg Read Wait Time (ms):
Avg Write Wait Time (ms):
Avg Service Wait Time (ms):
Avg CPU Utilization:
Please provide me the average values or the links if any other plugins are available.
Thank you all
IO Check Mode
Total Transfers/sec :
Read IO/Sec :
Write IO/Sec :
Bytes Read/Sec :
Bytes Written/Sec :
Queue Mode
Average size of requests:
Queue length of requests:
Wait Time Mode
Avg I/O Wait Time (ms):
Avg Read Wait Time (ms):
Avg Write Wait Time (ms):
Avg Service Wait Time (ms):
Avg CPU Utilization:
Please provide me the average values or the links if any other plugins are available.
Thank you all
Re: Monitor aws disk I/O
I would write a module that checked iostat as follows:
Example would be:
Your mileage may vary, results not typical, this is a professional Nagios administrator on a closed course. Do not attempt without proper training.
Code: Select all
Note: Usage would be check_iostat -d DISK -w warn -c crit
#!/bin/sh
device=""
warn=""
crit=""
while [ -n "$1" ]; do
case "$1" in
-d) device="$2"; shift 2;;
-w) warn="$2"; shift 2;;
-c) crit="$2"; shift 2;;
*) shift 1;;
esac
done
tps=`iostat -d $device | tail -2 | head -1 | awk '{print $2}'`
if [ "$tps" -ge "$crit" ]; then
echo "CRITICAL - $device has $tps transactions per second, critical value is $crit"
exit 2
elif [ "$tps" -ge "$warn" ]; then
echo "WARNING - $device has $tps transactions per second, warning value is $warn"
exit 1
else
echo "OK - $device has $tps transactions per second"
exit 0
fi
Code: Select all
check_iostat -d /dev/sda -w 500 -c 1000
Re: Monitor aws disk I/O
Thanks for the input Eric.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.