localhost and switch status Down
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: localhost and switch status Down
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
looks like its missing a plugin...screen shot attached..
-
volpeadmin
- Posts: 21
- Joined: Wed Sep 25, 2013 9:44 am
Re: localhost and switch status Down
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
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.
"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
localhost.cfg ...also attached (filename extension changed to avoid upload error)
- Attachments
-
localhost.txt- (5.28 KiB) Downloaded 230 times
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: localhost and switch status Down
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
what is the filename?
-
volpeadmin
- Posts: 21
- Joined: Wed Sep 25, 2013 9:44 am
Re: localhost and switch status Down
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
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
# 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!
}
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!
}