Advertisement
alacercogitatus

Apply to all the things

Aug 7th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Apply to all the things
  2. [host::*]
  3. priority = 100
  4. EVAL-readabletime = strftime(_time, "%H:%M:%S")
  5. EVAL-readabledate = strftime(_time, "%F")
  6. EVAL-kilobytes = if(isnotnull(kilobytes),kilobytes,bytes/1024)
  7. EVAL-megabytes = if(isnotnull(megabytes),megabytes,bytes/1024/1024)
  8. EVAL-gigabytes = if(isnotnull(gigabytes),gigabytes,bytes/1024/1024/1024)
  9. EVAL-b = if(isnotnull(b),b,kb*1024)
  10. EVAL-kb = if(isnotnull(kb),kb,b/1024)
  11. EVAL-mb = if(isnotnull(mb),mb,b/1024/1024)
  12. EVAL-gb = if(isnotnull(gb),gb,b/1024/1024/1024)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement