Current time: 11-28-2024, 02:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GraphStat whith RRDtools
Author Message
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #5
RE: GraphStat whith RRDtools
/etc/snmp/snmpd.comf

syslocation: Main
sysservices 0
syscontact root(dog)data-stream.ru

#группы #разрешенные хосты
#rwcommunity rumata 127.0.0.1
#rocommunity 127.0.0.1/24

master yes

#pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

#sysservices 76
sysservices 31region

rocommunity superpublic
#com2sec public default public
#group public v2c public
#access public "" any noauth exact all none none

disk /
disk /var
disk /dev/shm

Соответственно в файле resources.sh поправочка

core0=`$SENSORS -v 1 -c superpublic -Os -Oq $ipadd .1.3.6.1.2.1.25.3.3.1.2 |grep hrProcessorLoad.768 | awk '{print $2}'`
core1=`$SENSORS -v 1 -c superpublic -Os -Oq $ipadd .1.3.6.1.2.1.25.3.3.1.2 |grep hrProcessorLoad.769 | awk '{print $2}'`

вот так работает съём загрузки процов.
(This post was last modified: 03-23-2010 03:50 AM by data-stream_ru.)
03-23-2010 02:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
GraphStat whith RRDtools - data-stream_ru - 03-22-2010, 04:02 AM
RE: GraphStat whith RRDtools - Nuxwin - 03-22-2010, 04:57 AM
RE: GraphStat whith RRDtools - MasterTH - 03-22-2010, 03:45 PM
RE: GraphStat whith RRDtools - data-stream_ru - 03-23-2010 02:39 AM
RE: GraphStat whith RRDtools - server801 - 03-24-2010, 07:36 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)