Barrucadu / eihortstatus

A server status script for my Archlinux server. Probably completely useless for you.

This URL has Read+Write access

Barrucadu (author)
Thu Nov 12 12:03:03 -0800 2009
commit  c4ef4fe25518b86e59d13b9304151010b2412666
tree    394771815d8af7466ef0d8c7285c35a3293ab46e
parent  99b7e4b90085005b108d79e48440abc334da229f
README.md

This is a server staus script for my Archlinux server. To use it you'll need to do a few things:

  • Edit the commands in hardware.php, and install hddtemp
  • Edit the name in design.php
  • Use my blacklist/whitelist cronjobs
  • Use my todo script (and specify the location in todo.php)
  • Have a script to append text to a file.
  • Edit the arrays in index.php
  • Set up a few sudo rules:

    %http ALL=(ALL) NOPASSWD: /usr/sbin/hddtemp -n /dev/sda

    %http ALL=(ALL) NOPASSWD: /etc/rc.d/* start

    %http ALL=(ALL) NOPASSWD: /etc/rc.d/* stop

    %http ALL=(ALL) NOPASSWD: /etc/rc.d/* restart

    %http ALL=(ALL) NOPASSWD: /bin/cat /etc/named.conf

    %http ALL=(ALL) NOPASSWD: /bin/sed -i * /etc/named.conf

    %http ALL=(ALL) NOPASSWD: /bin/sed -i * /etc/dontblock

    %http ALL=(ALL) NOPASSWD: /usr/local/bin/appendtext * /etc/named.conf

    %http ALL=(ALL) NOPASSWD: /usr/local/bin/appendtext * /etc/dontblock

I think that's it. As you can see, it's quite focused on my server, nobody elses'.