LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   nagios error messages (https://www.linuxquestions.org/questions/linux-networking-3/nagios-error-messages-219950/)

kenji1903 08-19-2004 08:50 PM

nagios error messages
 
Howdy~

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

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~

ppuru 08-19-2004 10:28 PM

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.

kenji1903 08-19-2004 11:37 PM

haha, i wish i that site was mine as well! :D

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~

ppuru 08-20-2004 12:02 AM

You got me there :o :D

kenji1903 08-20-2004 05:28 AM

My apologies, bro! :D
I am a pure :newbie:

Umm... any hints with the errors that i got in /var/log/messages?

ppuru 08-20-2004 05:59 AM

does your server name appear in /etc/hosts.

kenji1903 08-20-2004 07:40 AM

my /etc/hosts just has some comments in it...

should it have something that looks like:
Code:

192.168.123.1 servername
?

ppuru 08-20-2004 11:07 AM

yes, that OR you can put servername on the 127.0.0.1 line. Hope you have the 127 line on your /etc/hosts.

kenji1903 08-20-2004 08:29 PM

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!!!

ppuru 08-21-2004 05:07 AM

the 127 line goes like

127.0.0.1 localhost.localdomain localhost

you can add other names like

loghost yourpcname yourpcname.yourdomain


All times are GMT -5. The time now is 10:37 PM.