Name or service not known


#1

Hi,
I get MANY critical warning in a day that state “Name or service not known”.
Is this a configuration issue?

thanks for your help!


#2

I am still getting warnings although I check the server and all is right. Can someone point me to the troubleshooting of such problem? Below are the hard warnings I received last night. If Nagios continues to send false alarms like this, I won’t be able to rely on it anymore… thanks!

[04-16-2009 05:23:46] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;4;Name or service not known
[04-16-2009 04:24:45] SERVICE FLAPPING ALERT: localhost;HTTP;STARTED; Service appears to have started flapping (22.1% change >= 20.0% threshold)
[04-16-2009 04:18:45] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;4;Name or service not known
[04-16-2009 02:39:45] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;4;Name or service not known
[04-16-2009 01:30:45] SERVICE FLAPPING ALERT: localhost;SSH;STARTED; Service appears to have started flapping (24.1% change >= 20.0% threshold)
[04-16-2009 01:28:45] SERVICE ALERT: localhost;SSH;UNKNOWN;HARD;4;Usage:check_ssh -46] -t <timeout>] -r <remote version>] -p <port>] <host>
[04-16-2009 00:44:45] SERVICE ALERT: localhost;SSH;UNKNOWN;HARD;4;Usage:check_ssh -46] -t <timeout>] -r <remote version>] -p <port>] <host>

#3

How you solved the problema,because i have the same problem!thanks!


#4

looks much like a configuration problem… ssh is configured wrong, http could be many things… first try running the commands from command line.