Blue Net HP LeftHand Training Resources
Training Resources

| Case Studies | Technology Partners | Careers | Training Resources |
 

...Back to Training Main page ...Back to Training Main page

Back to HP P4000 Resources... Back to HP P4000 Resources

Nagios Check Command for Cluster Usage

check_cluster icon  check_lhc (Updated 2-21-2011 for latest MIB OIDs)
Usage: #check_lhc ClusterVIP snmpstring warningthreshold criticalthreshold clusterinstance

example:
#check_lhc 10.0.5.6 public 70 80 1

OK - "DATACENTER" is 48.00 % free | clustersize=2741 available=1318 warning=1918 critical=2192 provisioned=1423

RRD Create Command      $RRDTOOL$ create $RRDNAME$ --step 300 --start n-1yr DS:clustersize:GAUGE:1800:0:999999 DS:available:GAUGE:1800:0:999999 DS:warning:GAUGE:1800:0:999999 DS:critical:GAUGE:1800:0:999999 DS:provisioned:GAUGE:1800:0:999999 RRA:AVERAGE:0.5:1:8640 RRA:AVERAGE:0.5:12:9480

RRD Update Command      $RRDTOOL$ update $RRDNAME$ -t clustersize:available:warning:critical:provisioned $LASTCHECK$:$VALUE1$:$VALUE2$:$VALUE3$:$VALUE4$:$VALUE5$ 2>&1

Custom RRDtool Graph Command      'rrdtool graph - DEF:t="rrd_source":ds_source_0:AVERAGE DEF:w="rrd_source":ds_source_2:AVERAGE DEF:c="rrd_source":ds_source_3:AVERAGE DEF:a="rrd_source":ds_source_4:AVERAGE CDEF:cdefa=a CDEF:cdefb=a,0.99,* CDEF:cdefw=w CDEF:cdefc=c CDEF:cdefm=c,1.05,* AREA:a#33FFFF AREA:cdefb#3399FF:"Storage Provisioned\:" GPRINT:a:LAST:"%.2lf " GPRINT:cdefa:MIN:min=%.2lf GPRINT:cdefa:AVERAGE:avg=%.2lf GPRINT:cdefa:MAX:max="%.2lf\l" LINE2:cdefw#FFFF00:"Warning Threshold\:" GPRINT:cdefw:LAST:"%.2lf" LINE2:cdefc#FF0033:"Critical Threshold\:" GPRINT:cdefc:LAST:"%.2lf\l" LINE2:t#57007F:"Cluster Capacity\:" GPRINT:t:LAST:"%.2lf" CDEF:cdefws=a,cdefw,GT,a,0,IF AREA:cdefws#FFFF00 CDEF:cdefcs=a,cdefc,GT,a,0,IF AREA:cdefcs#FF0033 CDEF:cdefwt=a,cdefw,GT,cdefw,0,IF LINE:cdefwt#000000 CDEF:cdefct=a,cdefc,GT,cdefc,0,IF LINE:cdefct#000000 -c BACK#FFFFFF -c CANVAS#FFFFFF -c GRID#C0C0C0 -c MGRID#404040 -c ARROW#FFFFFF -Y --vertical-label="Storage Provisioned" --title="Cluster Storage Usage" --alt-autoscale-max -l 0 --rigid'

Example Graphs: Cluster usage graph

Cluster usage graph 2
 



        Effective October 1, 2011: TeleData Consulting, Inc. has merged with our partner company Blue Net, Inc. This change will allow us to provide you more depth and breadth of services, as well as additional staff to serve all of your IT needs and additional product lines. All existing contracts and agreements have been transfered automatically to Blue Net, Inc.



VMware     HP Lefthand Business Partner     Citrix Partner     STORServer Elite Partner    

© 2007-2012 Blue Net Inc. All Rights Reserved.  
Blue Net is your strategic Minnesota VMware partner  |  Telephone:(952) 925-2583