Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
dcarro
bydcarro, November 28, 2013
Hi,
I change OID for CPU in script.
Old line :
load=($(snmpwalk -v 3 -u ${user} -O vqe ${host} .1.3.6.1.4.1.2021.10.1.3))
Output with old line :
CPU LOAD OK - Current load is No|load1=No;load5=Such;load15=Object
New :
load=($(snmpwalk -v 3 -u ${user} -O vqe ${host} .1.3.6.1.2.1.25.3.3.1.2.768))
Output with new line :
CPU LOAD OK - Current load is 100|load1=100;load5=;load15=
I hope this will help someone
Tested with StorCenter ix2-200 v. 2.1.42.18967
Good job to developper
Sorry for my english.
I change OID for CPU in script.
Old line :
load=($(snmpwalk -v 3 -u ${user} -O vqe ${host} .1.3.6.1.4.1.2021.10.1.3))
Output with old line :
CPU LOAD OK - Current load is No|load1=No;load5=Such;load15=Object
New :
load=($(snmpwalk -v 3 -u ${user} -O vqe ${host} .1.3.6.1.2.1.25.3.3.1.2.768))
Output with new line :
CPU LOAD OK - Current load is 100|load1=100;load5=;load15=
I hope this will help someone
Tested with StorCenter ix2-200 v. 2.1.42.18967
Good job to developper
Sorry for my english.