controlling tty

Mike McClure mmcclure at pneservices.com
Sat Dec 21 02:20:08 CET 2002


I think the problem is that you don't have a host key for each of the remote hosts
on your monitoring host, available to the user under which you run the plugin.

You'll need to get them, either manually by editing the "known_hosts" file, or by
ssh'ing as the nagios user to each host and accepting the host key.

Take a look at http://www.snailbook.com/faq/trusted-host-howto.auto.html for more
details.

> Please see below for answers to each of your questions.  Thanks so much
> for your time so far.
>
> ~nate
>
> On Fri, 20 Dec 2002 16:43:10 -0600 (CST) "Mike McClure" <mmcclure at pneservices.com>
> wrote:
>
>> What operating systems are you using?
>
> Redhat 7.3 on the nagios monitorring host
> several other OS's on hosts being monitorred (but the situation is the same on all)
>
>> What version of the plugins are you using?
>
> 1.3-beta1
>
>> Are you using the commercial version of SSH, or OpenSSH?
>
> ssh.com's ssh (although it is the non-commercial version).  For the
> purposes of your question, I am using the commercial ssh.
>
>> SSHv2 or SSHv1?
>
> sshv2
>
>> How are you performing authentication?  .shosts?  RSA/DSA keys?
>
> I am using a keypair with a null passphrase.
>
>> > When doing remote checks through check_by_ssh, they work from the command
>> > line, but from the cgi interface, they return a warning status with the
>> > message:
>> >
>> >   warning: You have no controlling tty. Cannot read confirmation.
>> >
>> > Anyone know what I might be doing wrong?  Any advice would be great.
>> >
>> > Thanks,
>> > Nate
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
>> > Time is running out!  Thinkgeek.com has the coolest gifts for
>> > your favorite geek.   Let your fingers do the typing.   Visit Now.
>> > T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
>> > _______________________________________________
>> > Nagios-users mailing list
>> > Nagios-users at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>> >
>> >
>>
>>
>> --
>> Mike McClure, CCIE # 5125, CISSP # 30232
>> PNE Services, Inc. -  http://www.pneservices.com
>> mmcclure at pneservices.com
>> mobile: 913-636-5590
>>
>>
>>
>> -------------------------------------------------------
>> This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
>> Time is running out!  Thinkgeek.com has the coolest gifts for
>> your favorite geek.   Let your fingers do the typing.   Visit Now.
>> T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>
>>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
> Time is running out!  Thinkgeek.com has the coolest gifts for
> your favorite geek.   Let your fingers do the typing.   Visit Now.
> T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>


-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590



-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/




More information about the Users mailing list