localhost and switch status Down

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: localhost and switch status Down

Post 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.
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post by volpeadmin »

looks like its missing a plugin...screen shot attached..
Attachments
localhost.png
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post 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)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: localhost and switch status Down

Post by abrist »

Can we see the config for this host?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post by volpeadmin »

localhost.cfg ...also attached (filename extension changed to avoid upload error)
Attachments
localhost.txt
(5.28 KiB) Downloaded 229 times
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: localhost and switch status Down

Post 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?
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post by volpeadmin »

what is the filename?
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post by volpeadmin »

templates.cfg?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: localhost and switch status Down

Post 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.
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: localhost and switch status Down

Post 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!
}
Locked