[SOLVED] please help me ,no Linux - Memory Usage

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

[SOLVED] please help me ,no Linux - Memory Usage

Post by sdkevin »

os:freebsd 6.2 realease

how can i do? help!!!!!!!!!!! :cry: :cry: :cry: :cry:

Image

Image

Image

Image
Attachments
1.jpg
1.jpg (73.98 KiB) Viewed 2780 times
2.jpg
2.jpg (104.76 KiB) Viewed 2780 times
3.jpg
3.jpg (29.46 KiB) Viewed 2780 times
4.jpg
4.jpg (55.71 KiB) Viewed 2780 times
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

please help ~~~~~~~~~~~~ :oops: :cry: :cry: :cry:
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

this graph templates (and the "Local Linux Machine" host template) is meant to be used on a Linux machine.

To graph a FreeBSD machine, you'll have to use Net-SNMP with the "ucd/net SNMP" host template.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

but i have change the ucd/net SNMP host template

no data on the Memory Usage too!!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Have you configured Net-SNMP on your FreeBSD host ?

If yes, can you run this command :

Code: Select all

$ snmpwalk -v 1 -c yourcommunity 127.0.0.1 mem
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

i no configure the net-snmp
beacuse i use the ports install net-snmp

this is my os run the command

SDLKM# snmpwalk -v 1 -c yourcommunity 127.0.0.1 mem
Timeout: No Response from 127.0.0.1

how cai i configure the net-snmp?

if you can ,i want to give my cacti use & pass,you can tell me my cacti how many incorrect in it,thx!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

You can follow the HowTo in my signature to configure Net-SNMP.

Basically, you can use these lines in snmpd.conf :

Code: Select all

rocommunity public
disk 
and then start Net-SNMP.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

can you add my msn>>?
slkm[ at ]21cn.com

is slkm[ at ]21cn.com
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

i have add

Code: Select all

rocommunity public
disk
in snmpd.conf
and then ?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

You then have to start Net-SNMP :

Code: Select all

# /usr/local/etc/rc.d/snmpd.sh start
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

thx~

i have use these command start net-snmp

and then?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you try that :

Code: Select all

$ snmpwalk -v 1 -c public 127.0.0.1 sysdescr
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

:cry: :cry:

incorrect

Code: Select all

SDLKM# snmpwalk -v 1 -c public 127.0.0.1 sysdescr
Timeout: No Response from 127.0.0.1
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you check it's running ?

Code: Select all

$ ps -ef | grep snmpd
BTW, your snmpd.conf is located in /usr/local/share/snmp ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
sdkevin
Posts: 33
Joined: Thu Jan 24, 2008 3:51 am
Contact:

Post by sdkevin »

sorry!!!

my os is not run snmpd

i run

Code: Select all

ps aux
i can't find snmpd

and my rc.conf no about snmpd

and i can't find snmpd.conf

may be i use ports install net-snmp
so no snmpd.conf

but i can see my Graph of my Localhost - Processes & Localhost - Load Average
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests