Tag Archive: ubuntu

Dec
15
2010

Nagios 3.0.x on Ubuntu Server 10.04 LTS

install nagios3 packages: ?View Code BASH1 2 3 $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install nagios3 nagios3-doc config files are located in /etc/nagios3 and /etc/nagios3/conf.d configure your contacts and hosts accordingly. what got me crazy was enabling external commands (needed to perform actions in the webinterface like sending alerts or …

Continue reading »

Jun
22
2010

Getting SNMPD to work on Ubuntu

Setting up snmpd on ubuntu seems easy, but i never got it full working. It was working locally, but not for a cacti setup from another server. The problem was that the default install of snmpd on Ubuntu starts the demon on the loopback interface only, refusing connections from other computers. Edit /etc/default/snmpd to fix …

Continue reading »

Feb
26
2007

Ubuntu: networking tip

But when i tried to ping some other machine, this didn’t work :-( I checked /var/log/messages and the onboard Broadcom Interface showed up as eth1, but i was not able to start it. When i ran $ sudo /etc/init.d/networking restart i got some error messages like: SIOCSIFADDR: No such device eth1 eth1: ERROR while getting interface flags: No such device No clue what went wrong, i googled a lot and finally i stumbled upon this forum entry: http://ubuntuforums.org/showthread.php?t=221768 Then i ran: $ ifconfig -a and got a list with my network interfaces and more importantly with it’s MAC address.

Continue reading »

Feb
19
2007

Ubuntu Server insecurity?

i just found out that my Ubuntu Server 6.10 has login shells for almost all users set in the /etc/passwd file! That’s a very bad idea because this maybe enabled someone to install “Data Cha0s Back Backdoor” on my machine :-( I checked this with 2 other fresh Ubuntu Server 6.10 installations and both also had the login shells for users like daemon, mail, www-data and so on. Especially www-data should not have a chance to create a shell in my opinion!

Continue reading »