"Stylus Sysinfo" superkaramba theme

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Description:

Have Fun

phxguy

15 years ago

The Theme for the most part works and looks good. However, Like a few other *system monitors* out there it doesn't display my memory correctly. I have 1500MB of physical Memory installed but it only shows as
681 / 885 MB

which I assume is 681 MB used and a total of 885MB.

Also what would it take to have the Net Use module show a persons external IP address instead of thier internal 192.x.x.x address?

Report

phxguy

15 years ago

Problem Solved. Memory above 885MB needs to have HIMEM enabled in the kernel. Im using ubuntu so I just had to do a sudo apt-get install linux-686 and reboot

Report

ChriZus

15 years ago

i changed the command a bit. It's now also compatible with longer ip addresses.

You don't need to adjust the range anymore

ifconfig eth0 | grep 'inet addr:' | { read -a words; echo ${words[1]}; } | cut -b 6-

enjoy!!

Report

ChriZus

15 years ago

Since I don't have the IP command installed on my distro, I had to find a way around this. I found the following command to work for me.

program="ifconfig eth0 | grep 'inet addr:' | cut -b 21-31"

You might want to adjust the cut range
21 is the byte where the ip starts, but the length should be adjusted to the expected length of the ip address.

replace eth0 with the interface you want the ip for.

Report

dmzeplin

15 years ago

I appreciate your time, you did great!

Report

dmzeplin

15 years ago

How would you set up Mails?? I am not that familiar to use mails...

text x=73 y=45 sensor=program program="/path/to/mails_pop3.pl server username@XXX.com XXX (password)" line=1 color=0,0,255 fontsize=10 font="Tahoma" interval=18000

This is what I did, but nothing work? if you happen to know where path usually goes to ??

Report

C

stylus

15 years ago

program="/home/stylus/karamba/sysinfo/scripts/mails_pop3.pl pop3.unilans.ru stylus 123456"

pop3.unilans.ru (server)
stylus (login)
123456 (password)

Report

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Apr 03 2005
added Apr 03 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0