Page 2 of 3

Re: localhost and switch status Down

Posted: Sat Sep 28, 2013 12:15 am
by slansing
What is the exact error you are receiving from that host in the web interface? Is it something along the lines of 100% packet loss? OR, is it something else? Please copy it here, and also a copy of your localhost.cfg, is it only your localhost and switch that are showing down? Are these your only hosts? If not, let us know, this could be a problem with the plugin or some odd configuration change / blockage that is just coming to light.

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:29 pm
by volpeadmin
looks like its missing a plugin...screen shot attached..

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:33 pm
by volpeadmin
it is not the only host but it is separate from the other, primary Nagios host... this will eventually replace it but it runs solely on its own hardware (stand alone)

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:41 pm
by abrist
Can we see the config for this host?

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:45 pm
by volpeadmin
localhost.cfg ...also attached (filename extension changed to avoid upload error)

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:48 pm
by slansing
We need one more config file, since your localhost is under the linux-server template. Can you share that template with us as well?

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:50 pm
by volpeadmin
what is the filename?

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:51 pm
by volpeadmin
templates.cfg?

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:51 pm
by slansing
You should be able to find the linux-server template section in templates.cfg, we only need it's definition not the entire file.

Re: localhost and switch status Down

Posted: Mon Sep 30, 2013 12:53 pm
by volpeadmin
# Linux host definition template - This is NOT a real host, just a template!

define host{
name linux-server ; The name of this host template
use generic-host ; This template inherits other values from the generic-host template
check_period 24x7 ; By default, Linux hosts are checked round the clock
check_interval 5 ; Actively check the host every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each Linux host 10 times (max)
check_command check-host-alive ; Default command to check Linux hosts
notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
; Note that the notification_period variable is being overridden from
; the value that is inherited from the generic-host template!
notification_interval 120 ; Resend notifications every 2 hours
notification_options d,u,r ; Only send notifications for specific host states
contact_groups admins ; Notifications get sent to the admins by default
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}