problem with proc/meminfo - directory does not exist
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Sun Apr 08, 2007 9:28 pm
- Location: Malaysia
- Contact:
problem with proc/meminfo - directory does not exist
Im using freebsd
no graph for memory usage.
others graph is ok.
y?
anyone plz help me.
no graph for memory usage.
others graph is ok.
y?
anyone plz help me.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: problem with proc/meminfo - directory does not exist
If you are using the default 'localhost' graphs, then the script assumes linux /proc structure - in fact, it's called Linux Memoryfeeza_cute19 wrote:Im using freebsd
no graph for memory usage.
others graph is ok.
y?
anyone plz help me.
FreeBSD has an emulation for linux /proc though, so you can make an emulated linux proc:
Code: Select all
mkdir -p /compat/linux/proc
Code: Select all
linproc /compat/linux/proc linprocfs rw 0 0
Code: Select all
mount /compat/linux/proc
Finally, you need to change the script that uses the /proc. This is <cacti-root>/scripts/linux_memory.pl
Change the path in the top line from /proc/meminfo to /compat/linux/proc/meminfo
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 5
- Joined: Sun Apr 08, 2007 9:28 pm
- Location: Malaysia
- Contact:
problem with proc/meminfo - directory does not exist
Im a new user of UNIX so may I asking u 1 question
for code 1: which directory im suppose to make directory? and also for code 2.
Sorry for that simple question.
for code 1: which directory im suppose to make directory? and also for code 2.
Sorry for that simple question.
-
- Posts: 5
- Joined: Sun Apr 08, 2007 9:28 pm
- Location: Malaysia
- Contact:
problem with proc/meminfo - directory does not exist
to howie...
I've already done on wat u ask me to do...
but it still not showing anythig on graph..
but i've can cat /compat/linux/proc/meminfo
so tq on tat thing.
hihihihi
n now my problem is i cant show the graph, only for memory usage
I've already done on wat u ask me to do...
but it still not showing anythig on graph..
but i've can cat /compat/linux/proc/meminfo
so tq on tat thing.
hihihihi
n now my problem is i cant show the graph, only for memory usage
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: problem with proc/meminfo - directory does not exist
You mean it's a blank grid (NaN)? Or it doesn't appear at all?feeza_cute19 wrote:to howie...
I've already done on wat u ask me to do...
but it still not showing anythig on graph..
but i've can cat /compat/linux/proc/meminfo
so tq on tat thing.
hihihihi
n now my problem is i cant show the graph, only for memory usage
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 5
- Joined: Sun Apr 08, 2007 9:28 pm
- Location: Malaysia
- Contact:
problem with proc/meminfo - directory does not exist
the graph is there but the data is not there...yes u correct, its blank
-
- Posts: 5
- Joined: Sun Apr 08, 2007 9:28 pm
- Location: Malaysia
- Contact:
problem with proc/meminfo - directory does not exist
Tq so much howie...
that problem have been solved.
tq so much
that problem have been solved.
tq so much
Who is online
Users browsing this forum: No registered users and 2 guests