# graphite-api for sensu

**URL:** <https://discourse.sensu.io/t/graphite-api-for-sensu/563>\
**Category:** Sensu Classic (EOL)\
**Created:** [March 23, 2016, 2:23pm UTC](https://discourse.sensu.io/t/graphite-api-for-sensu/563 "2016-03-23T14:23:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hari\_krishna\_kumar](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@Hari\_krishna\_kumar](https://discourse.sensu.io/u/Hari_krishna_kumar)\
**Post date:** [March 23, 2016, 2:23pm UTC](https://discourse.sensu.io/t/graphite-api-for-sensu/563/1 "2016-03-23T14:23:56Z")

</div>

HI All,  
I had set up sensu and graphite successfully.

When i tried to set threshold values from graphite’s data ,i found link [https://sensuapp.org/docs/0.21/getting-started-with-checks](https://sensuapp.org/docs/0.21/getting-started-with-checks) from Sensu-Checks.

They clearly mentioned that check-graphite-data.rb script uses Graphite-API to query the metrics and get all the metric which are specified using " \* ".

But i haven’t installed Graphite-API .Do I need to install it.If yes ,please help me in providing the link.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Hari\_krishna\_kumar](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@Hari\_krishna\_kumar](https://discourse.sensu.io/u/Hari_krishna_kumar)\
**Post date:** [March 24, 2016, 8:21am UTC](https://discourse.sensu.io/t/graphite-api-for-sensu/563/2 "2016-03-24T08:21:08Z")

</div>

HI ,

In browser level , I am able to get the all the specified metrics graph using function like: [http://XX](http://XX),X,XX,XX:8080/render?target=highestCurrent(internal.\_dev3.\*.1.disk-usage.root.used,16)

But i need this to be in executed in terminal by using sensu-checks with threshold values and get alert .

Please help me in getting specified metrics output in linux terminal

> **···**
>
> On Wednesday, March 23, 2016 at 7:53:56 PM UTC+5:30, kumar kittu wrote:
> 
> > HI All,  
> > I had set up sensu and graphite successfully.
> 
> > When i tried to set threshold values from graphite’s data ,i found link [https://sensuapp.org/docs/0.21/getting-started-with-checks](https://sensuapp.org/docs/0.21/getting-started-with-checks) from Sensu-Checks.
> 
> > They clearly mentioned that check-graphite-data.rb script uses Graphite-API to query the metrics and get all the metric which are specified using " \* ".
> 
> > 
> 
> > 
> 
> > But i haven’t installed Graphite-API .Do I need to install it.If yes ,please help me in providing the link.
> 
> > 
> 
> > Thanks in advance
> 
> >
