LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2004, 08:50 PM   #1
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
Red face nagios error messages


Howdy~

I finally got Nagios to run after 1 whole week!
Seriously a cool network monitoring program!

At the moment i am getting these 2 error lines all over my /var/log/messages:
Code:
servername nss_wins[20285]: My unqualified host name (servername) unknown: sleeping for retry
servername nss_wins[20280]: unable to qualify my own domain name (servername) -- using short name
Does the 2 lines have anything to do with /etc/nsswitch.conf?

If anybody is wants to see Nagios at work, try:
http://nagios.square-box.com/
username = guest
password = guest

Thanks in advance
~WiLL~
 
Old 08-19-2004, 10:28 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Great job kenji but I feel you are giving away a lot of information about your network. I would rather you disable the guest login immediately.
 
Old 08-19-2004, 11:37 PM   #3
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Original Poster
Rep: Reputation: 30
haha, i wish i that site was mine as well!

I just happened to browsed across that site while surfing for Nagios infos~

Seriously, I wished i could get Nagios to work like that one demo-d by that square-box company

Anyway, thanks a lot for the warning!

AdioS~

Last edited by kenji1903; 08-19-2004 at 11:43 PM.
 
Old 08-20-2004, 12:02 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
You got me there
 
Old 08-20-2004, 05:28 AM   #5
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Original Poster
Rep: Reputation: 30
My apologies, bro!
I am a pure

Umm... any hints with the errors that i got in /var/log/messages?
 
Old 08-20-2004, 05:59 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
does your server name appear in /etc/hosts.
 
Old 08-20-2004, 07:40 AM   #7
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Original Poster
Rep: Reputation: 30
my /etc/hosts just has some comments in it...

should it have something that looks like:
Code:
192.168.123.1 servername
?
 
Old 08-20-2004, 11:07 AM   #8
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
yes, that OR you can put servername on the 127.0.0.1 line. Hope you have the 127 line on your /etc/hosts.
 
Old 08-20-2004, 08:29 PM   #9
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Original Poster
Rep: Reputation: 30
weird... i only have this:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail
in my /etc/hosts...
Last night i added 192.168.123.1 servername right below the comments.

Should I have something else?
hm... i remember having 127.0.0.1 some time ago...

Oh, sh*t... Is the hosts tab under network configuration related to the /etc/hosts???
I recently deleted the line IP: 127.0.0.1 aliases: localhost there!!!
 
Old 08-21-2004, 05:07 AM   #10
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
the 127 line goes like

127.0.0.1 localhost.localdomain localhost

you can add other names like

loghost yourpcname yourpcname.yourdomain
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios web login error..... dwarf007 Linux - Software 33 01-27-2009 05:50 PM
Nagios monitoring panel error? dwarf007 Linux - Software 2 12-13-2005 12:02 PM
Nagios (403 Error) cuiguy Linux - Software 1 04-05-2005 06:27 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration