in More Search Options

Advanced alerts: Bytes to MB/GB ?

Last post 08-30-2007 3:35 PM by Don331. 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
  • 08-30-2007 7:42 AM

    Advanced alerts: Bytes to MB/GB ?

     I would like to replicate low disk space alerts from basic to advanced (So I can filter using custom properties) .  I would like our Dev team to get alerts for DEV servers, apps for apps servers, etc.  I have the query setup and working properly, but the only values that I can send in an alert is Bytes available(${Volumes.VolumeSpaceAvailable}).  This is not very readable for most people.  Is there any way to modify the bytes to MB/GB like the basic alerts do.

     I don't like editing the basic alerts every time we add a new disk or server.  It leads to inconsistent monitoring, and I like the idea of custom properties, so the alerts will trigger the correct resources.

     

    Thanks
     

    • Post Points: 3
  • 08-30-2007 11:51 AM In reply to

    • patwill66
    • Top 150 Contributor
    • Joined on 08-10-2006
    • Minnesota
    • Posts 59
    • Points 147

    Re: Advanced alerts: Bytes to MB/GB ?

    Here is the SQL command I use.  This divides the value in VolumeSpaceAvailable until its in GB and rounds to the tenth decimal place. 

    ${SQL:Select round((VolumeSpaceAvailable / 1024 / 1024 / 1024),1) from Volumes WHERE VolumeID='${VolumeID}'}

    • Post Points: 10
  • 08-30-2007 12:32 PM In reply to

    Re: Advanced alerts: Bytes to MB/GB ?

    Nice!

    SAM

    • Post Points: 1
  • 08-30-2007 3:35 PM In reply to

    • Don331
    • Top 25 Contributor
    • Joined on 07-03-2003
    • USA
    • Posts 232
    • Points 1,301

    Re: Advanced alerts: Bytes to MB/GB ?

    Thanks PatWill,

    That's officially a "keeper" in my book!

     Don

    Don Barry
    IFCO SYSTEMS N.A. INC.
    • Post Points: 1
Page 1 of 1 (4 items)