Skip to content

Instantly share code, notes, and snippets.

@canimus
Created November 29, 2018 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canimus/ce9002a78d6f884854d0c5b8a1886037 to your computer and use it in GitHub Desktop.
Save canimus/ce9002a78d6f884854d0c5b8a1886037 to your computer and use it in GitHub Desktop.
Inserting alerts manually
insert alerts,alertID=MEM:ID,alertName=MEM,instance=total,environment=p,host=localhost,level=INFO,triggerType=threshold duration=100i,message="Testing msg",value=80
insert alerts,alertID=MEM:ID,alertName=MEM,instance=total,environment=p,host=localhost,level=WARNING,triggerType=threshold duration=100i,message="Testing msg",value=100
insert alerts,alertID=MEM:ID,alertName=MEM,instance=total,environment=p,host=localhost,level=CRITICAL,triggerType=threshold duration=100i,message="Testing msg",value=200
insert alerts,alertID=MEM:ID,alertName=MEM,instance=total,environment=p,host=localhost,level=OK,triggerType=threshold duration=100i,message="Testing msg",value=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment