Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Aug 05, 2005 4:17 pm 
Offline
Junior Member
User avatar

Joined: Sat Jun 05, 2004 1:22 pm
Posts: 40
AOL: fester516
Location: Brooklyn, NY
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


Top
   
 Post subject:
PostPosted: Mon Oct 10, 2005 11:12 am 
Offline
Junior Member

Joined: Mon Apr 26, 2004 5:03 pm
Posts: 47
See http://www.cacti.net/downloads/docs/html/script_to_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

Code:
#!/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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group