Cacti and Token Monitoring

Hello All,

forgive me for my lack of understanding of these monitoring tools. I was able to get Cacti up and running on my linode. I was wondering if anyone had some templates to share.

I am interested in monitoring my Token usage (/proc/io_status). How could I go about monitoring tokens via Cacti?

Thanks for your help in advance!!!

Ron

1 Reply

See ~~[http://www.cacti.net/downloads/docs/html/scripttograph.html" target="blank">](http://www.cacti.net/downloads/docs/htm … graph.html">http://www.cacti.net/downloads/docs/html/scriptto_graph.html](.

That will show you how to get the output of a script into cacti.

I don't have the io_status output in front of me, but the 'script' would be something simple like

#!/bin/sh
awk '{print $2}' /prod/io_status | cut -d'=' -f 2 

Replace '2' with the field position of the io_tokens number. cut is used to only get the numeric portion.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct