Hi,

I'm sure that DNS resolution works correctly for khk23dso3.ip.tdk.dk -

I've tried to run the command manually from my nagios server 10-20 times and 
always got 0 in result code,
but i will try to write a loop in a script and save the resultcode.

rgds,

Peter Calum   
Denmark

-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Jay R. Ashworth
Sendt: 18. april 2008 18:17
Til: [email protected]
Emne: Re: [Nagios-users] Return code 255 and flapping services on Solaris9

On Fri, Apr 18, 2008 at 05:08:46PM +0200, Peter Michael Calum wrote:
>    /usr/local/nagios/libexec/check_by_ssh -H khk23dso3.ip.tdk.dk  -l nagios -i
>    /home/nagios/.ssh/id_rsa -C 'plugin/check_disk -w 25% -c 15% -l -X devfs'
> 
> 
>    DISK OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86%
>    inode=95%); /var 4393 MB (69% inode=95%); /var/run 10628 MB (99% 
> inode=99%);
>    /tmp 10628 MB (99% inode=99%); /opt 14585 MB (99% inode=99%); /export/home
>    8499 MB (87% inode=99%);| /=970MB;9972;11301;0;13296
>    /usr=1957MB;11080;12557;0;14774 /var=1890MB;4759;5394;0;6346
>    /var/run=0MB;7971;9033;0;10628 /tmp=0MB;7971;9033;0;10628
>    /opt=41MB;11080;12557;0;14774 /export/home=1252MB;7387;8372;0;9850

That check-command depends on DNS resolution to work.  Are you running
an internal zone server for .ip.tdk.dk?  Have you tested to make sure
that that name can be reliably, repeatably, resolved?

Does the command return the expected results from the command line if
you run it 100 times in a row?

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      [EMAIL PROTECTED]
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

             Those who cast the vote decide nothing.
             Those who count the vote decide everything.
               -- (Joseph Stalin)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to