Re: [Nagios-users] ascii frontend

2007-02-04 Thread Greg Martin
Rover??  I wrote a tool in 92-93 that monitored Banyan VINES server 
connectivity.  It was a shell tool as well (DOS).  I called that Rover, 
as well.  Imagine my surprise.

\\Greg

[EMAIL PROTECTED] wrote:
> Anyone out there remember Rover?!  Merit et al used it to manage
> the Internet/NSFNet back when some of you were in diapers.  Smart
> sysadmins latched on to it in the 80s/early 90s.
>
>  > Does anyone know of an ascii/text/curses frontend to nagios.
>  > ("dialog" based maybe?)
>
> Try Cnagios?  It's a clone of the old Rover console for Nagios 
> with perl regexp filtering support.
>
> Screenshot...
>
>  http://noc.hep.wisc.edu/cnagios.html
>
> Readme... 
>
>  http://noc.hep.wisc.edu/cnagios.txt
>
> Download...
>
>  ftp://noc.hep.wisc.edu/pub/src/cnagios
>
> steve 
> - - - 
> systems & network manager
> high energy physics
> university of wisconsin
>
> -
> 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@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
>
>   

-
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@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


Re: [Nagios-users] ascii frontend

2007-02-02 Thread rader

 > Try 0.18 from
 >  ftp://noc.hep.wisc.edu/pub/src/cnagios

Sorry, but please don't try v0.18!!  I applied a contributed
(s/sprintf/snprintf/) patch without QAing it.  Stupid me.

Instead, please try v0.19 from the same place

 ftp://noc.hep.wisc.edu/pub/src/cnagios

steve 
- - - 
systems & network manager
high energy physics
university of wisconsin

-
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@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


Re: [Nagios-users] ascii frontend

2007-02-02 Thread rader

 > From: Lars Stavholm <[EMAIL PROTECTED]>
 > [...]
 > It looks brilliant from the screen shots, and it's exactly what I need.
 > 
 > However, I get build problems on SuSE Linux 10.2:
 > 
 > readv1.c: In function ‘read_v1_status’:
 > readv1.c:98: error: invalid lvalue in assignment
 > [...]

Yes, I already fixed this problem, but hadn't folded it into
the source.  Paraphrasing a response to someone else: looks
like new-ish anal GCCs doesn't like my old school anal coding,
or something like that.


Try 0.18 from

 ftp://noc.hep.wisc.edu/pub/src/cnagios

please.

steve 
- - - 
systems & network manager
high energy physics
university of wisconsin

-
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@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

Re: [Nagios-users] ascii frontend

2007-02-02 Thread Lars Stavholm
Thanks Steve, looks brilliant.

It still amazes me that if you're on the lookout for some functionality
that your missing, there's more than likely someone out there that has
solved the problem.

It looks brilliant from the screen shots, and it's exactly what I need.

However, I get build problems on SuSE Linux 10.2:

readv1.c: In function ‘read_v1_status’:
readv1.c:98: error: invalid lvalue in assignment
readv1.c:124: error: invalid lvalue in assignment
readv1.c:131: error: invalid lvalue in assignment
readv1.c:202: error: invalid lvalue in assignment
readv1.c:209: error: invalid lvalue in assignment
readv2.c: In function ‘read_v2_status’:
readv2.c:154: error: invalid lvalue in assignment
readv2.c:250: error: invalid lvalue in assignment
make: *** [cnagios] Error 1

On Solaris 9 (using gcc 3.3.2) It builds nicely
once I replaced getopt.h with unistd.h in cnagios.c.

Cheers
/Lars

[EMAIL PROTECTED] wrote:
> Anyone out there remember Rover?!  Merit et al used it to manage
> the Internet/NSFNet back when some of you were in diapers.  Smart
> sysadmins latched on to it in the 80s/early 90s.
> 
>  > Does anyone know of an ascii/text/curses frontend to nagios.
>  > ("dialog" based maybe?)
> 
> Try Cnagios?  It's a clone of the old Rover console for Nagios 
> with perl regexp filtering support.
> 
> Screenshot...
> 
>  http://noc.hep.wisc.edu/cnagios.html
> 
> Readme... 
> 
>  http://noc.hep.wisc.edu/cnagios.txt
> 
> Download...
> 
>  ftp://noc.hep.wisc.edu/pub/src/cnagios
> 
> steve 
> - - - 
> systems & network manager
> high energy physics
> university of wisconsin
> 


-
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@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

Re: [Nagios-users] ascii frontend

2007-02-02 Thread rader

Anyone out there remember Rover?!  Merit et al used it to manage
the Internet/NSFNet back when some of you were in diapers.  Smart
sysadmins latched on to it in the 80s/early 90s.

 > Does anyone know of an ascii/text/curses frontend to nagios.
 > ("dialog" based maybe?)

Try Cnagios?  It's a clone of the old Rover console for Nagios 
with perl regexp filtering support.

Screenshot...

 http://noc.hep.wisc.edu/cnagios.html

Readme... 

 http://noc.hep.wisc.edu/cnagios.txt

Download...

 ftp://noc.hep.wisc.edu/pub/src/cnagios

steve 
- - - 
systems & network manager
high energy physics
university of wisconsin

-
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@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


Re: [Nagios-users] ascii frontend

2007-02-02 Thread Lars Stavholm
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@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


Re: [Nagios-users] ascii frontend

2007-02-01 Thread frank
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?

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@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


Re: [Nagios-users] ascii frontend

2007-02-01 Thread Lars Stavholm
Santhosh Kumar A (RRT). wrote:
> Have u checked the 'nagcon' on nagiosexchange...
> 
> I haven't tried, seems like what u r looking for

Yes, that will fit the bill.

Thanks
/Lars

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
> Stavholm
> Sent: Friday, February 02, 2007 11:16 AM
> To: nagios-users@lists.sourceforge.net
> Cc: Scott Lambert
> Subject: Re: [Nagios-users] ascii frontend
> 
> Lars Stavholm wrote:
>> Scott Lambert wrote:
>>> On Fri, Feb 02, 2007 at 06:10:53AM +0100, 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.
>>> Are you talking about configuring Nagios?
>> Nop. I'm a vi fan:)
>>
>>> Or, viewing the web interface?
>> Yes, or to get some simplified overview,
>> not necessarily the web interface.
>>
>>> The web interface works in w3m, lynx, ...
>> Yes, I know, I tried lynx, and although it is readable,
>> it's not the simplified overview that I'm looking for.
>> We aim to put this in the hands of end users that
>> might not be fluent in interpreting the lynx output.
>>
>>> Or are you thinking along the lines of nagiostat?
>> Don't know what that is, I'll have a look.
> 
> Nop, nagiostat is a graphical trend tool.
> /L
> 
> 
> -
> 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@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
> 
> DISCLAIMER:
> 
> Information transmitted by this e-mail may be proprietary to Ramco Systems 
> Ltd., and / or the authors of the information and is intended for use only by 
> the individual or entity to which it is addressed, and may contain 
> confidential or legally privileged information. If you are not the intended 
> recipient or it appears that this mail has been forwarded to you without 
> proper authority, you are not authorised to access, read, disclose, copy, use 
> or otherwise deal with it and any such actions are prohibited and may be 
> unlawful.
> 
> Internet communications cannot be guaranteed to be secure or error-free as 
> information could be intercepted, corrupted, lost, arrive late or contain 
> viruses. Ramco Systems Limited therefore does not accept liability for any 
> errors, omissions, viruses or computer problems experienced as a result of 
> this transmission.
> 
> If you have received this e-mail in error, please notify us immediately at 
> mail to: [EMAIL PROTECTED] and delete this mail from your records. Notice is 
> hereby given that no representation, contract or other binding obligation 
> shall be created by this e-mail.
> 


-
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@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


Re: [Nagios-users] ascii frontend

2007-02-01 Thread Santhosh Kumar A (RRT).

Have u checked the 'nagcon' on nagiosexchange...

I haven't tried, seems like what u r looking for



http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi
ew]=353&tx_netnagext_pi1[page]=0%3A10

Santhosh


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars
Stavholm
Sent: Friday, February 02, 2007 11:16 AM
To: nagios-users@lists.sourceforge.net
Cc: Scott Lambert
Subject: Re: [Nagios-users] ascii frontend

Lars Stavholm wrote:
> Scott Lambert wrote:
>> On Fri, Feb 02, 2007 at 06:10:53AM +0100, 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.
>> Are you talking about configuring Nagios?
>
> Nop. I'm a vi fan:)
>
>> Or, viewing the web interface?
>
> Yes, or to get some simplified overview,
> not necessarily the web interface.
>
>> The web interface works in w3m, lynx, ...
>
> Yes, I know, I tried lynx, and although it is readable,
> it's not the simplified overview that I'm looking for.
> We aim to put this in the hands of end users that
> might not be fluent in interpreting the lynx output.
>
>> Or are you thinking along the lines of nagiostat?
>
> Don't know what that is, I'll have a look.

Nop, nagiostat is a graphical trend tool.
/L


-
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@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

DISCLAIMER:

Information transmitted by this e-mail may be proprietary to Ramco Systems 
Ltd., and / or the authors of the information and is intended for use only by 
the individual or entity to which it is addressed, and may contain confidential 
or legally privileged information. If you are not the intended recipient or it 
appears that this mail has been forwarded to you without proper authority, you 
are not authorised to access, read, disclose, copy, use or otherwise deal with 
it and any such actions are prohibited and may be unlawful.

Internet communications cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, arrive late or contain 
viruses. Ramco Systems Limited therefore does not accept liability for any 
errors, omissions, viruses or computer problems experienced as a result of this 
transmission.

If you have received this e-mail in error, please notify us immediately at mail 
to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby 
given that no representation, contract or other binding obligation shall be 
created by this e-mail.

-
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@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


Re: [Nagios-users] ascii frontend

2007-02-01 Thread Lars Stavholm
Lars Stavholm wrote:
> Scott Lambert wrote:
>> On Fri, Feb 02, 2007 at 06:10:53AM +0100, 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.
>> Are you talking about configuring Nagios? 
> 
> Nop. I'm a vi fan:)
> 
>> Or, viewing the web interface?
> 
> Yes, or to get some simplified overview,
> not necessarily the web interface.
> 
>> The web interface works in w3m, lynx, ...
> 
> Yes, I know, I tried lynx, and although it is readable,
> it's not the simplified overview that I'm looking for.
> We aim to put this in the hands of end users that
> might not be fluent in interpreting the lynx output.
> 
>> Or are you thinking along the lines of nagiostat?
> 
> Don't know what that is, I'll have a look.

Nop, nagiostat is a graphical trend tool.
/L

-
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@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


Re: [Nagios-users] ascii frontend

2007-02-01 Thread Lars Stavholm
Scott Lambert wrote:
> On Fri, Feb 02, 2007 at 06:10:53AM +0100, 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.
> 
> Are you talking about configuring Nagios? 

Nop. I'm a vi fan:)

> Or, viewing the web interface?

Yes, or to get some simplified overview,
not necessarily the web interface.

> The web interface works in w3m, lynx, ...

Yes, I know, I tried lynx, and although it is readable,
it's not the simplified overview that I'm looking for.
We aim to put this in the hands of end users that
might not be fluent in interpreting the lynx output.

> Or are you thinking along the lines of nagiostat?

Don't know what that is, I'll have a look.

Cheers
/Lars

-
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@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