Jun 252010
 

You can monitor your servers nicely graphs using iStat for iphone.
these are instructions for Gentoo:

1
2
3
4
5
6
7
8
9
wget http://github.com/downloads/tiwilliam/istatd/istatd-0.5.7.tar.gz
tar xpf istatd-0.5.7.tar.gz
cd istatd-0.5.7
./configure
make
make install 
useradd istat
mkdir -p /var/{run,cache}/istat /home/istat
chown istat.istat /var/{run,cache}/istat /home/istat

Create and edit /etc/istat.conf to match your server specs.
This config is for my OpenVZ vps.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# /etc/istat.conf: Configuration for iStat server
#
 
# IP Address to listen
network_addr           77.88.xx.xx
 
# choose any port, Default is 5109
network_port           55666 
 
# this is password, 5 digits
server_code            12345
 
server_user            istat
server_socket          /var/run/istat/istat.sock
server_pid             /var/run/istat/istat.pid
cache_dir              /var/cache/istat
monitor_net              venet0
monitor_disk             ( /dev/simfs )

Start istatd server:

1
sudo -u istat istatd -d -c /etc/istat.conf

you might add it to /etc/conf.d/local.start to auload on startup

Then download iStat for iphone http://bjango.com/apps/istat/ it’s only $0.99
and add your server to the list.

Here are some screenshots, first is server and second image is my macbook discovered with bonjour.

  6 Responses to “Server monitoring with gentoo and iStat on the iPhone”

  1. hey,

    nice tutorial. do you have an intention to create an ebuild?
    i created a bugreport, so this might be good point to start at in case someone is interested in creating an ebuild for gentoo linux.

    -> http://bugs.gentoo.org/show_bug.cgi?id=326965

    regards,
    hal

  2. hey,
    Thanks for submitting the bug report.
    actually it’s a really good idea to have an ebuild.
    Good to see active Gentoo users. I wish I was more active too.
    :)
    I have done a couple of ebuilds many years back. I might give it a try now.
    Fred

  3. yeah, gentoo still rocks. :) got it on my htpc as a base for xbmc.
    nice to see that you are interested in an ebuild. there’s another user on the bugtracker showing interest in creating an ebuild. maybe it would be wise to coordinate your efforts.

    cheers,
    hal

  4. hey fred,

    the ebuild has been released and can be found in the sunrise overlay and in the bug thread.

    cheers,
    hal

  5. That’s cool, Im checking out the ebuild.
    and I will update the post with the ebuild link.

  6. Using it right now to monitor my Linux servers. Installation on Debian was easy (except for the istat.conf not copied to /etc/ and the -c /etc/istat.conf required on the command line). But the rest is just brilliant with clear graphs and data showing all you need to know at a glance. Excellent work!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site