Image 01
profile-image

elsiebeth

Elie Thompson
DebiaNFO

Karamba & Superkaramba by Noisemaker 11 comments

In the very few seconds that it was on my screen, I saw far more than I needed--or wanted--to see. - Oct 03 2004
DebiaNFO

Karamba & Superkaramba by Noisemaker 11 comments

I don't think it's very appropriate for you to put such a picture on here. It's not necessary. - Oct 01 2004
Operations Monitor

Karamba & Superkaramba by philr 6 comments

I had a problem with the command used to return the IP address. It was returning too much information. After looking at it closer, I found that it was finding 2 instances of the "/inet/" so I changed the command to have "/inet\ addr/" instead so that it found only the instance I wanted.

If you have another line underneath the IP address line that doesn't make sense, it's probably because of this. My extra line said "fe80."

The entire command is:

program="/sbin/ifconfig eth0 | awk -F: /inet\ addr/'{print $2}' | awk '{print $1}'"

It is found on (approximately) line 107. (I have made some of my own changes, don't know if that is the original line number.)

Thanks also go to my hubby who helped me debug it. ;)

By the way, I like it. :) - Aug 24 2004