Monitoring CPU, Memory utilization of HP V1910-24G switch
Posted: Thu Oct 16, 2014 3:29 pm
Dear Friends,
I have number of HP V1910-24G switches for which dude is fetching all information except CPU, memory utilization temperature etc.
For CPU monitoring I created:
Function:
Name: HP_CPU_a
Code: if(array_size(oid_column("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10 ,29)), oid("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10, 29)+1 ,"False")
Probe:
Name:HP_CPU
Type: Function
Available: HP_CPU_a() <> "False"
Error:if(HP_CPU_a()<>"False",if(HP_CPU_a() < 50, "", concatenate("Warning: high CPU =", HP_CPU_a(), "%")), "Failed read")
Value: oid("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10, 29)
Unit:%
But it did not return me expected result. I got the message "Failed read"
Please help me in understanding my mistake...
Thanks in advance..
Sayani
I have number of HP V1910-24G switches for which dude is fetching all information except CPU, memory utilization temperature etc.
For CPU monitoring I created:
Function:
Name: HP_CPU_a
Code: if(array_size(oid_column("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10 ,29)), oid("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10, 29)+1 ,"False")
Probe:
Name:HP_CPU
Type: Function
Available: HP_CPU_a() <> "False"
Error:if(HP_CPU_a()<>"False",if(HP_CPU_a() < 50, "", concatenate("Warning: high CPU =", HP_CPU_a(), "%")), "Failed read")
Value: oid("1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8", 10, 29)
Unit:%
But it did not return me expected result. I got the message "Failed read"
Please help me in understanding my mistake...
Thanks in advance..
Sayani