Dashboard shows strange host address value

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
heskez
Posts: 17
Joined: Wed Dec 09, 2015 9:38 am

Re: Dashboard shows strange host address value

Post by heskez »

ONBOOT=yes

great thanks!

But the default value = NO? :shock:
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Dashboard shows strange host address value

Post by hsmith »

Yep, threw me off when I was learning Linux!

There's also BOOTPROTO=DHCP, which if you're not using a static IP, and isn't there, you won't have an IP address upon booting.

So many little gotchas.
Former Nagios Employee.
me.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Dashboard shows strange host address value

Post by jolson »

Example static IP setup:
vi /etc/sysconfig/network-scripts/ifcfg-eth0

Code: Select all

DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.1.6
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=8.8.4.4
GATEWAY=192.168.1.1
Restart networking with your new static configuration:

Code: Select all

service network restart
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked