FastNetMon

четверг, 14 марта 2013 г.

netconsole Debian Squeeze initialization scripts

All scripts moved to GitHub: https://github.com/vps2fast/debian_netconsole

I'm providing open source script for managing netconsole module on Debian Squeeze for you! :)

Features:

  1. Autoconfigure mac address in routed network (automatically use gateway address mac or you can manually set destination server mac address)
  2. Script is very simple to configure 


You can install it manually:

apt-get install -y arping
cd /usr/src
wget https://fastvps.googlecode.com/svn/trunk/scripts/netconsole/netconsole_conf -O/etc/default/netconsole --no-check-certificate
wget https://fastvps.googlecode.com/svn/trunk/scripts/netconsole/netconsole -O/etc/init.d/netconsole --no-check-certificate
chmod +x /etc/init.d/netconsole

Now you need configure script:
nano /etc/default/netconsole
You need enable script autoload on startup:
ENABLE_NETCONSOLE="yes"

Also you need set DESTINATION_SERVER_IP.

Okay,  show must go on! Startup netconsole!
insserv netconsole
/etc/init.d/netconsole start

1 комментарий :

  1. Не получается запустить скрипт под Debian 8.1:

    # service netconsole start
    Failed to start netconsole.service: Unit netconsole.service failed to load: No such file or directory.

    ОтветитьУдалить

Примечание. Отправлять комментарии могут только участники этого блога.