ascii frontend

Lars Stavholm stava at telcotec.se
Fri Feb 2 11:23:57 CET 2007


frank wrote:
> On Fri, 2 Feb 2007, Lars Stavholm wrote:
> 
>> Hi List,
>>
>> Does anyone know of an ascii/text/curses frontend to nagios.
>> ("dialog" based maybe?)
>>
>> I have a situation were I don't have other than ssh access
>> to the box and need to be able to get some sort of overview
>> from a textbased frontend to nagios once logged in.
>>
>> Failing that, any ideas?
>> Is there a published API for the frontend?
>>
>> Any thoughts appreciated.
>>
>> R
>> /Lars
> 
> Other people have mentioned console tools so I won't bother.
> 
> But did you know that with ssh access you have access to every port on
> the remote machine?

Yes, thank you, the ssh tunneling solution has been considered.
The lines we are using do use ssh, but with no tunneling
capabilities built in. Also, there's too many hops before
we get to the target machine to make that solution feasible.

Thanks
/Lars

> SSH(1)
> 
>  -L [bind_address:]port:host:hostport
>          Specifies that the given port on the local (client) host is to be
>          forwarded to the given host and port on the remote side.  This
>          works by allocating a socket to listen to port on the local side,
>          optionally bound to the specified bind_address.  Whenever a con-
>          nection is made to this port, the connection is forwarded over
>          the secure channel, and a connection is made to host port
>          hostport from the remote machine.
> 
> ssh -L 8080:localhost:80 your-nagios-box
> 
> http://localhost:8080/
> 
> So here you're hitting port 8080 on your desktop machine and the packets
> are getting sent over your SSH connection to the HTTP port on the nagios
> server.
> 
> If the HTTP server on the nagios box isn't bound to localhost you'll
> have to specify (in the ssh command) the hostname or IP that it is bound
> to.
> ('netstat -tnl | grep :80' can help you find out)
> 
> Windows ssh clients such as PuTTY can also do port forwarding.
> 
> -f
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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