Re: [Nagios-users] Negate binary file

2007-02-01 Thread Yolanda Santos

Hi,

Thank you Richard. I get it.

I write this mail to show everybody how I get to use the negative binary
file (if someone don't know how to do it, here you have)

As Richard tell us, you only get the negative result on the Nagios console.
If you launch the ./negate check_xx, you always get the check_xxx result,
not the negative.

So, you have to put the command 'wrapped' in the negate command in the
nagios
configuration like that, in the checkcommands.cfg, for example:
In this example, I use the check_http command.

define command{
   command_namecheck_http_negate
   command_line$USER1$/negate /opt/nagios/libexec/check_http -H
10.190.8.xxx -p 80 -u url -s string
   }

Remember that you have to indicate the complete path of the command (in this
case, check_http), and put everything between  

Good Luck!!

And thank you very much, Richard

Yolanda

2007/1/30, Richard Luys-Nagios User [EMAIL PROTECTED]:


On Tue, 30 Jan 2007 10:48:00 +0100, Yolanda Santos [EMAIL PROTECTED]
wrote:

  nagios-users@lists.sourceforge.netHi,

 I have tried to use the negate binary file, but it doesn't work.
 Am I doing something wrong?
Hello Yolanda,

No, your not doing something wrong, your just confused ;-) let me explain:

The OK you see is the exit status of the check_http plugin, which is
indeed: OK. If you check the status of the negate with echo $? (directly
after you issued the command) you should see a response of '2', which is
the exitstatus known as CRITICAL.

Nagios interprets the negate exitstatus and not the exitstatus of the
command you 'negated'.

Just put your command 'wrapped' in the negate command in your nagios
configuration and it will show up as a CRITICAL when the plaintext-error
page is shown.

Good Luck!

Richard



 I check:

 ./check_http -H 10.190.8.xxx -p 80 -u url -s ERROR

 And I get an OK

 Then, now I want the opposite, so I do:

 ./negate check_http -H 10.190.8.xxx -p 80 -u url -s ERROR

 And I get an  OK again. If I add the complete path:

 ./negate /opt/nagios/libexec/check_http -H 10.190.8.xxx -p 80 -u url
 -s
 ERROR

 I continuous get an OK...

 What is wrong?

 Thanks



--
Using Opera's revolutionary e-mail client: http://www.opera.com/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=lnkkid=120709bid=263057dat=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

[Nagios-users] nagios unable to set threshold for warning and critical alert

2007-02-01 Thread trevor obba


I am trying to monitor Microsoft
Exchange 2003 “SMTP Remote Queue Length”
using Nagios check_nt plug-in
like



./check_nt -H 192.168.x.x
-p 1248 -s password -v Counter -l \\SMTP Server(_Total)\\Remote Queue Length 



The above work fine but I would like nagios to indicate a warning
when SMTP remote queue is 50 and critical when 100 mails, is queued on the
remote queue.


 


As a result I added
the options “–w 50 and –c 100” like this


 


./check_nt
-H 192.168.x.x -p 1248 -s password -v Counter -l \\SMTP Server(_Total)\\Remote 
Queue Length –w
50 –c 100


 


Unfortunately, the
check_nt seem to ignore the warning and critical thresholds.


 


How can I set
thresholds on SMTP Remote Queue Length? What am I doing rough?


 


Can you help? Please


 


Thanks








___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

-
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=lnkkid=120709bid=263057dat=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


[Nagios-users] nagios check_nt help

2007-02-01 Thread trevor obba


Using check_nt I can check the average mail delivered on my
windows exchange 2003 but 


1) How do I place in description?  so that the description appears in nagios 
“Status
Information”


2) How do I set threshold? so that nagios alert a warning
and critical


 


Here the command am using


 


check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l

\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min


 


I tried to set threshold with those option –w 100 –c 200 but
this option did not work


 


I also tried setting a description by putting ,”Average mail delivered” but 
this did
not work either.


 


I placed in a description like


 


check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l

\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min, Average mail 
delivered”


but those did not work either.


 


Can you help? Please


 


Thanks







___ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy 
and free. http://uk.docs.yahoo.com/trueswitch2.html

-
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=lnkkid=120709bid=263057dat=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] Adding hosts and services

2007-02-01 Thread Nedim Bicic

yeah i can create subdirectory for hosts and services and make a pointer in
nagios.cfg but let me ask you could you have multiple host.cfg files and
service.cfg files on the local host

for example splitting hosts into areas and serivces into regions

also my cpu is spiking in terms of processing i wonder if thats caused by my
updated of host and services that are in the same files.???





On 1/31/07, Jim Perrin [EMAIL PROTECTED] wrote:


On 1/31/07, Nedim Bicic [EMAIL PROTECTED] wrote:
 Hey i am running nagios 2.4

You may wish to consider updating.

 The way i am updating by adding hosts to host cfg file and service.cfgfile
 is ther another way or a template that can be easily updated into by
linux
 box
 now when i open my host file the text like froze it doesnt appear like
its
 thinking or something
 any advise on this would be helpful

You don't have to have all the hosts in one file and all the services
in another.
I have a hosts dir, in which I have subdirs for other locations I
monitor.  Inside these I have the host.cfg files calling a template
from my templates directory as needed. Each hosts file contains all
the info for that host, including services, and extended information.

You can set this up any way you wish. It's all about what works best for
you.

--
During times of universal deceit, telling the truth becomes a
revolutionary act.
George Orwell

-
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=lnkkid=120709bid=263057dat=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] Adding hosts and services

2007-02-01 Thread Josh Yost
Nedim Bicic wrote:
 yeah i can create subdirectory for hosts and services and make a pointer in
 nagios.cfg but let me ask you could you have multiple host.cfg files and
 service.cfg files on the local host
 
 for example splitting hosts into areas and serivces into regions
 
 also my cpu is spiking in terms of processing i wonder if thats caused
 by my
 updated of host and services that are in the same files.???
 

Hi,
  If you define a cfg_dir, then it reads anything in that dir w/ a .cfg
extension.  So yes, you can split it into as many files as you like.

From the nagios.cfg:

# You can also tell Nagios to process all config files (with a .cfg
# extension) in a particular directory by using the cfg_dir
# directive as shown below:

#cfg_dir=/etc/nagios/servers
#cfg_dir=/etc/nagios/printers
#cfg_dir=/etc/nagios/switches
#cfg_dir=/etc/nagios/routers


- Josh

-
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=lnkkid=120709bid=263057dat=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


[Nagios-users] Active vs. passive checks; host won't check

2007-02-01 Thread Steve Yates
Hi,

I'm a relative newbie to Nagios though I have v2.5 set up,
running, and a couple dozen hosts defined.  I set it up using Monarch.
Nagios is being used to monitor external hosts (that are not running
Nagios) for uptime and POP/HTTP/etc. services using check-host-alive and
check_http, etc.  Parent relationships are defined (internal
router-ext. router-host).

I have two questions, and the first may help to answer the
second.  I've never been too sure about the difference between active
and passive checks.  What is the difference?  Is there a correct time to
use one or the other?  

I have one host (a router) that will not check.  Status=PENDING
(Host has not been checked yet) forever.  Active and passive checks
are both enabled.  It is a router, so there are no other services.  Also
I used Monarch to clone it from another router's host definition that
was working.  Any ideas on why it wouldn't be checking?  I can ping it's
IP.

Thanks,

 - Steve Yates
 - ITS, Inc.
 - You can fool too many of the people too much of the time.

~ Taglines by Taglinator - www.srtware.com ~

-
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=lnkkid=120709bid=263057dat=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] Active vs. passive checks; host won't check

2007-02-01 Thread Aaron Segura
http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#normal_scheduling

On Thu, 2007-02-01 at 13:45 -0600, Steve Yates wrote:
 Hi,
 
   I'm a relative newbie to Nagios though I have v2.5 set up,
 running, and a couple dozen hosts defined.  I set it up using Monarch.
 Nagios is being used to monitor external hosts (that are not running
 Nagios) for uptime and POP/HTTP/etc. services using check-host-alive and
 check_http, etc.  Parent relationships are defined (internal
 router-ext. router-host).
 
   I have two questions, and the first may help to answer the
 second.  I've never been too sure about the difference between active
 and passive checks.  What is the difference?  Is there a correct time to
 use one or the other?  
 
   I have one host (a router) that will not check.  Status=PENDING
 (Host has not been checked yet) forever.  Active and passive checks
 are both enabled.  It is a router, so there are no other services.  Also
 I used Monarch to clone it from another router's host definition that
 was working.  Any ideas on why it wouldn't be checking?  I can ping it's
 IP.
 
 Thanks,
 
  - Steve Yates
  - ITS, Inc.
  - You can fool too many of the people too much of the time.
 
 ~ Taglines by Taglinator - www.srtware.com ~
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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] Active vs. passive checks; host won't check

2007-02-01 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Steve Yates
 Sent: Thursday, February 01, 2007 1:46 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Active vs. passive checks; host won't check
 

[chop]

   I have two questions, and the first may help to answer the
 second.  I've never been too sure about the difference between active
 and passive checks.  What is the difference?  Is there a correct time
to
 use one or the other?

Active checks are initiated by nagios itself. The plugin runs on your
nagios machine and actively checks the status of some service. Passive
checks are received by nagios from an external source and not initiated
by nagios. Passive checks are often utilized in distributed monitoring
where you may have one or more other nagios installations performing
checks and sending the results of those checks back to a central nagios
server. Another use for passive checks would be to receive check results
from a script that is running on a machine that isn't directly
accessible by nagios due to a firewall or other circumstance.
 
   I have one host (a router) that will not check.  Status=PENDING
 (Host has not been checked yet) forever.  Active and passive checks
 are both enabled.  It is a router, so there are no other services.
Also
 I used Monarch to clone it from another router's host definition that
 was working.  Any ideas on why it wouldn't be checking?  I can ping
it's
 IP.

Under normal configurations, hosts are never checked until a service on
the host fails. No service, no host checks ever. You must define at
least one service for every host if you want it to be checked. This
requirement is likely to change with nagios-3.

--
Marc

-
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=lnkkid=120709bid=263057dat=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] Active vs. passive checks; host won't check

2007-02-01 Thread Steve Yates
Marc Powell  wrote on Thursday, February 01, 2007 2:28 PM:

 You must define at
 least one service for every host if you want it to be checked. This
 requirement is likely to change with nagios-3.

Thanks to all the respondees.  I'd vote for that change as it
seems counterintuitive to me to not check the status of something that
Nagios knows is important (parent or grandparent to all other hosts),
and also the average router doesn't really run a service IMHO, though
ping would have to work to check the status anyway, I think.  Sounds
like I need to set up a host profile for routers that has at least the
ping service.

As for active/passive, what you all describe makes sense. It's
just not documented that I could find.  The Service Check Scheduling
doc page for instance doesn't contain the word active, nor does
Determining Status and Reachability of Network Hosts.

 - Steve Yates
 - ITS, Inc.
 - I went to a bookstore and asked the saleswoman, Where's the
self-help section?  She said if she told me, it would defeat the
purpose.

~ Taglines by Taglinator - www.srtware.com ~

-
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=lnkkid=120709bid=263057dat=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] Active vs. passive checks; host won't check

2007-02-01 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Steve Yates
 Sent: Thursday, February 01, 2007 2:45 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Active vs. passive checks; host won't
check
 
 Marc Powell  wrote on Thursday, February 01, 2007 2:28 PM:
 


 ping would have to work to check the status anyway, I think.  Sounds
 like I need to set up a host profile for routers that has at least the
 ping service.

This is usually recommended.

   As for active/passive, what you all describe makes sense. It's
 just not documented that I could find.  The Service Check Scheduling

http://nagios.sourceforge.net/docs/2_0/passivechecks.html

--
Marc

-
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=lnkkid=120709bid=263057dat=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] How to bypass motd in check_by_ssh

2007-02-01 Thread Marcel Mitsuto Fucatu Sugano
From check_by_ssh --help:

 -S, --skiplines=n
Ignore first n lines on STDERR (to suppress a logon banner)

HTH.

PS: Vc estudou no senac?


On Wed, 2007-01-31 at 22:18 -0800, Nelson Serafica wrote:
 I tried to create in one of my remote pc but it still occurs. I just
 touch .hushlogin in my remote's home directory. Then tried to login
 from my pc to remote but motd still occurs.
 
 
 - Original Message 
 From: Frost, Mark {PBG} [EMAIL PROTECTED]
 To: Nelson Serafica [EMAIL PROTECTED];
 nagios-users@lists.sourceforge.net
 Sent: Wednesday, January 31, 2007 8:56:49 PM
 Subject: RE: [Nagios-users] How to bypass motd in check_by_ssh
 
 Most Unix flavors I've ever seen allow you to create a .hushlogin
 file in that particular user's home directory to suppress printing of
 the motd for that particular user at login time.
 
 touch ~/.hushlogin
 
 for that user and that user will never see the motd.
 
 Mark
 
 
 -Original Message-
 From: [EMAIL PROTECTED] on behalf of Nelson
 Serafica
 Sent: Wed 1/31/2007 2:26 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] How to bypass motd in check_by_ssh
 
 HI to all,
 
 Is there a way I can bypass motd of ssh? I cannot execute plugins if
 there's a motd in my ssh. However, when I disable it, I can execute
 the plugins. But the thing is, I do not want to disable  mthe motd in
 the server. I tried the option -S 500 in check_by_ssh but still
 problem occurs. Please help
   
 
 
 
 
 
 Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail beta.
 http://new.mail.yahoo.com
 
 
 
 
 
 
 __
 Need Mail bonding?
 Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
 -
 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=lnkkid=120709bid=263057dat=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


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
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=lnkkid=120709bid=263057dat=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


[Nagios-users] Enabling active checks

2007-02-01 Thread Steve Yates
This may be more of a Monarch question, but one thing that
probably helped confuse me about active checks are that if I have a host
defined in Monarch with Active checks enabled checked, within Nagios
itself the Host Detail and Information pages seems to show new hosts
with Active Checks:DISABLED.  I can click the Enable active checks of
this host link but I'm not sure why or if I have to?

I say if because on the one router to which I just added the
Ping service, it has now been checked and the status is UP yet it shows
Active Checks:DISABLED.

Thanks,

 - Steve Yates
 - ITS, Inc.
 - No, I'm not elitist. What's it to you, peasant?

~ Taglines by Taglinator - www.srtware.com ~

-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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]=353tx_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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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