Unknown state flapping
Marc Powell
marc at ena.com
Fri Apr 15 19:36:06 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Aaron Macks
> Sent: Thursday, April 14, 2005 8:53 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Unknown state flapping
>
> hoping the description would have jogged a memory
> nagios master:
> Red Hat Linux release 8.0 (Psyche)
> nagios 1.1
> ssh used to check client, 3.4
>
> plugin from nagios-plugins 1.4
> check_disk
> check_load
> client OS Red Hat Linux release 7.2 (Enigma)
> ssh version 2.9.2
>
> the other client with the same problem has the same stats
> there are several other clients with the same stats that exhibit no
> problems
>
> I've recopied all of the keys and plugins to the clients and
> rechecked the configs
> the commands that cause the hosts to be checked:
> hosts.cfg:
> define host{
> use generic-host
> host_name stern
> alias stern
> address 192.168.1.240
> check_command check-host-alive
> max_check_attempts 10
> notification_interval 60
> notification_period 24x7
> notification_options d,u,r
> }
>
> hostgroups.cfg:
> define hostgroup {
> hostgroup_name ....primarydb
> alias Primary Database servers
> contact_groups sysadmins
> members ..., stern, ...
> }
>
> services.cfg:
> define service {
> use normal-service
> hostgroup_name ...primarydb
> service_description DISK
> check_command ssh_check_disk!15%!8%
> }
>
> checkcommands.cfg:
> define command {
> command_name ssh_check_disk
> command_line /apps/nagios/libexec/check_by_ssh -t 15 -H
> $HOSTADDRESS$ -C '/apps/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$
> -e -X proc -X tmpfs -X devpts -X iso9660 -X usbdevfs'
> }
These all look good. Can you provide the status information for a
command when it returns an unknown status? I'd also try executing the
command above in a while loop at the command line and echo the exit
status. It's possible that there is other output that you are not seeing
through nagios that is causing the problem or that is at the least
informative.
--
Marc
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list