Re: [Nagios-users] Check Hsrp

2008-02-06 Thread Giles Coochey
I do the following for HSRP:

 

define command{

command_namecheck-hsrp

command_line$USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C
$ARG1$ -o SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.$ARG2$ -s
'IpAddress: $ARG3$'

}

 

$ARG1$ is community

$ARG2$ is the appropriate OID suffix for the interface

$ARG3$ is normally active IP

 

I have not used check_ifoperstatus before, though it looks interesting.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Duraisw
Sent: 05 February 2008 18:56
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check Hsrp

 

Hello All,
I am trying to check hsrp on 6509 with the following, and I am running
into problems. Please let me know what I am doing wrong here.

[EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
--hsrpgrp 10Usage:
  check_ifoperstatus.pl -H HOSTNAME [-C community] -k ifIndex
  check_ifoperstatus.pl [-h | --help]
  check_ifoperstatus.pl [-V | --version]

Thanks for your help,

-john



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] web interface access and authorization

2008-02-06 Thread Olivier JAN

Hi list,

I have a question regarding web interface authorization with nagios 3.

What i understood is that

- you can have peoples not in contact for a host or service that can  
view all hosts and services but cannot issue commands for them (wiht  
right permissions).
- You can have peoples define as contact for a host or service than  
can view and command all hosts and services for which they are contact.

The questions are :

Can you have people as contact for host and service that can view  
those hosts and services but CANNOT issue command on them. How can i  
achieve this ?
Can you have people not define as contact for a host and service to  
see only certains hostgroups or servicegroups and don't issue commands  
on them ?

Hope it's clear enough for you guys ;-)

Thanks for any suggestions

Olivier Jan
http://nagios-fr.org





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] conditional variable usage (host specific settings)

2008-02-06 Thread Rejo Zenger
++ 05/02/08 12:18 -0600 - Marc Powell:
No, you cannot. I think the closest you can get would be to specify a
different check_command in your first definition that would override the
template check_command. This other check_command could take the argument
of the address you want to check.

Of course I have thought about that option, but it would be sub-optimal
only. If I would need to change some other option to the check_command,
I would need to change it at several locations (which I want to avoid,
and which is why I am using templating).

But of course, nit-picking, as no one needs to change check_command
options frequently - not me anyway.

Thanks a lot for the answer.

-- 
Rejo Zenger [EMAIL PROTECTED] https://rejo.zenger.nl


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Check Hsrp

2008-02-06 Thread John Duraisw
Larry,
Thanks you very much. That's what was missing, and now I should be able to
proceed.

[EMAIL PROTECTED] ~]$ ./check_ifoperstatus.0.7.pl -H 10.31.1.106 -C public -k
175 -t hsrpgrp --hsrpgrp 85
OK - Interface 'Vl85' HSRP Group 85 status is 'standby' (index 175)

Thanks,
-john

On Feb 5, 2008 2:39 PM, Larry Low [EMAIL PROTECTED] wrote:

  You need to specify an interface by the ifIndex.  HSRP groups are per
 interface.  I haven't tested the HSRP portion of the code very extensively
 so let me know if you run into any more problems.



 

 Larry Low

 4150 N Drinkwater Blvd., 5th Floor

 Scottsdale, AZ  85251

 Office: 480.385.7045

 E-mail: [EMAIL PROTECTED]'



 Telesphere Networks, Inc



 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *John Duraisw
 *Sent:* Tuesday, February 05, 2008 10:56 AM
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] Check Hsrp



 Hello All,
 I am trying to check hsrp on 6509 with the following, and I am running
 into problems. Please let me know what I am doing wrong here.

 [EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
 --hsrpgrp 10Usage:
   check_ifoperstatus.pl -H HOSTNAME [-C community] -k ifIndex
   check_ifoperstatus.pl [-h | --help]
   check_ifoperstatus.pl [-V | --version]

 Thanks for your help,

 -john


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] How to submit passive test results from a script?

2008-02-06 Thread Tom Wlodek
Ladies and gentlemen,

I have a service running on nagios server and I would like to submit
passive test results from a client script.

I see that nagios has an interface to submit those results:

https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
cmd_typ=30host=my.host.comservice=nagios+test+service

I go there and I see a form. All it takes is to fill this form and then
clic submit.

So I figured out that if I embed the form fields in URL and then load
the URL then I will effectively submit the form. So I do:

https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
cmd_typ=30host=my.host.comservice=nagios+test
+serviceplugin_state=3plugin_output=pluginOuttputperformance_data=testbtnSubmit=Commit

I load this page - and nothing happens.

How do you submit passive test results to nagios from scripts?

Tom


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 HTTPS access

2008-02-06 Thread svalding
List, 
  Hi Command as I like to call it has asked to put Nagios on an https
site. That is all well and fine, but I can't get it to work for some
reason. I followed the faq and have everything set up exactly as it
states, but still no worky. Apache2 is compiled and ssl support is all
set up. I checked the firewall and it is passing 443 traffic just fine.
I am missing something somewhere though. Anyone have a how-to on getting
this going on Ubuntu? 
begin:vcard
n:VALDINGER;STEPHEN
fn:STEPHEN VALDINGER
tel;cell:740-491-0958
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Antwort: How to submit passive test results from a script?

2008-02-06 Thread Sascha . Runschke
[EMAIL PROTECTED] schrieb am 06.02.2008 16:16:39:

 How do you submit passive test results to nagios from scripts?

Take a look at NSCA, you'll find the framework on the nagios homepage.

regards
Sascha

-- 
Sascha Runschke
Netzwerk- und Systemmanagement
Abt. Organisation und Betrieb - IT-Infrastruktur
GFKL Financial Services AG
Limbecker Platz 1, 45127 Essen

Telefon : +49 (201) 102-1879
Mobile  : +49 (173) 5419665
Fax : +49 (201) 102-1102105



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. 
Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Slightly off topic, but hopefully you can help

2008-02-06 Thread Brian Loe
On Feb 5, 2008 8:36 AM,  [EMAIL PROTECTED] wrote:
 List,
   I am doing a school project and I wanted to do something with
 nagios/monitoring. I am in a business class and my team wants to create
 a consulting firm that specializes in network
 technology/topology/monitoring. We are going to use Nagios as the base
 for our monitoring solution, as we all have experience with it in our
 real life jobs, and therefore can build a good business plan as to why
 the software is the best option. What I am wondering is if anyone on
 this list that actually does Nagios support/consulting can give me a few
 pointer/highlights to hit on, some pricing information and what kind of
 support packages your company offers as a base. Thanks!


Sounds like difficult questions to ask, even privately, but I wouldn't
mind hearing it either. There aren't enough companies out there doing
it themselves, or even enough offering it on a consulting basis in my
opinion. Then you have those companies that offer it but don't know
what they're doing...

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 submit passive test results from a script?

2008-02-06 Thread Aaron M. Segura
On Wed, 2008-02-06 at 10:16 -0500, Tom Wlodek wrote:
 Ladies and gentlemen,
 
 I have a service running on nagios server and I would like to submit
 passive test results from a client script.
 
 I see that nagios has an interface to submit those results:
 
 https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
 cmd_typ=30host=my.host.comservice=nagios+test+service
 
 I go there and I see a form. All it takes is to fill this form and then
 clic submit.
 
 So I figured out that if I embed the form fields in URL and then load
 the URL then I will effectively submit the form. So I do:
 
 https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
 cmd_typ=30host=my.host.comservice=nagios+test
 +serviceplugin_state=3plugin_output=pluginOuttputperformance_data=testbtnSubmit=Commit
 
 I load this page - and nothing happens.
 
 How do you submit passive test results to nagios from scripts?
 
 Tom

Either via NSCA or External Commands.

Since you're local to the nagios server with this script, external
commands would probably be the way to go.

http://www.nagios.org/developerinfo/externalcommands/commandlist.php

Specifically:
http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=114



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Antwort: Nagios HTTPS access

2008-02-06 Thread Sascha . Runschke
[EMAIL PROTECTED] schrieb am 06.02.2008 14:56:12:

 List, 
   Hi Command as I like to call it has asked to put Nagios on an https
 site. That is all well and fine, but I can't get it to work for some
 reason. I followed the faq and have everything set up exactly as it
 states, but still no worky. Apache2 is compiled and ssl support is all
 set up. I checked the firewall and it is passing 443 traffic just fine.
 I am missing something somewhere though. Anyone have a how-to on getting
 this going on Ubuntu? 

Uhm, there is nothing special you need to do to make nagios run with 
https.
https is only a webserver configuration, nagios does not make use of 
absolute URIs - so it doesn't care for http or https.

S

-- 
Sascha Runschke
Netzwerk- und Systemmanagement
Abt. Organisation und Betrieb - IT-Infrastruktur
GFKL Financial Services AG
Limbecker Platz 1, 45127 Essen

Telefon : +49 (201) 102-1879
Mobile  : +49 (173) 5419665
Fax : +49 (201) 102-1102105



GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. 
Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Nagios HTTPS access

2008-02-06 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, February 06, 2008 7:56 AM
 To: Nagios List
 Subject: [Nagios-users] Nagios HTTPS access
 
 List,
   Hi Command as I like to call it has asked to put Nagios on an https
 site. That is all well and fine, but I can't get it to work for some
 reason. I followed the faq and have everything set up exactly as it
 states, but still no worky. Apache2 is compiled and ssl support is all
 set up. I checked the firewall and it is passing 443 traffic just
fine.
 I am missing something somewhere though. Anyone have a how-to on
getting
 this going on Ubuntu?

As previously indicated, nagios doesn't know or care if it's HTTP or
HTTPS. That's all in the web server configuration assuming that you have
nagios working via HTTP.

While it's most likely an Apache configuration issue, if you want more
help, you should tell us what the problem is, specifically, and not just
highlights of what you've checked. can't get it to work just isn't
enough information. Specific error information, log snippets, nagios
version and how installed, what specific configuration changes you made
to support HTTPS, etc are all needed.

--
Marc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 submit passive test results from a script?

2008-02-06 Thread Aaron M. Segura
On Wed, 2008-02-06 at 10:42 -0500, Tom Wlodek wrote:
  
  Either via NSCA or External Commands.
 
 Sorry for the stupid question - but what is NCSA?
 

I'll let my friend google answer that one, because he is more worldly
and knowledgeable than I:
http://www.google.com/search?q=nagios+nsca

Short Answer:  NSCA is a daemon that accepts check results from the
network on behalf of nagios.

  
  Since you're local to the nagios server with this script, external
  commands would probably be the way to go.
  
  http://www.nagios.org/developerinfo/externalcommands/commandlist.php
  
  Specifically:
  http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=114
  
 
 Thise services assume that you are on the local machine and can write to
 the commands file. But what about a situation when a remote user wants
 to submit a test result? Is there a cgi page in nagios to fill where he
 can submit the result?

I thought your question pre-supposed the script was local to the server
box?  If you are on a remote host you can submit results via NSCA (see
link above).  You could, of course, always just script a web transaction
using the CGI's, but that's soo 1997. :)

Also, please always reply on-list so other people can learn from your
experience.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] tickets nagios

2008-02-06 Thread Luis Gardea
Hello

I need that nagios create a ticket when a host or services are down.


Any ideas for resolve that.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] tickets nagios

2008-02-06 Thread Anthony Mendoza
Depends on the helpdesk system you use.  I added my helpdesk email
address as a contact for nagios so that any host or service down results
in a ticket being created via email with my helpdesk system.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Luis Gardea
 Sent: Wednesday, February 06, 2008 8:54 AM
 To: Nagios Users Mailinglist
 Subject: [Nagios-users] tickets nagios
 
 Hello
 
 I need that nagios create a ticket when a host or services are down.
 
 
 Any ideas for resolve that.
 

---
 --
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] tickets nagios

2008-02-06 Thread Luis Gardea
i'm using wonderdesk 3.0 as helpdesk.

On Feb 6, 2008 10:47 AM, Anthony Mendoza [EMAIL PROTECTED] wrote:
 Depends on the helpdesk system you use.  I added my helpdesk email
 address as a contact for nagios so that any host or service down results
 in a ticket being created via email with my helpdesk system.

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:nagios-users-
  [EMAIL PROTECTED] On Behalf Of Luis Gardea
  Sent: Wednesday, February 06, 2008 8:54 AM
  To: Nagios Users Mailinglist
  Subject: [Nagios-users] tickets nagios
 

  Hello
 
  I need that nagios create a ticket when a host or services are down.
 
 
  Any ideas for resolve that.
 
 
 ---
  --

  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  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


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] web interface access and authorization

2008-02-06 Thread Marc Powell
Hey Olivier,

I haven't tested 3.x extensively yet but I don't see anything in the
documentation about contact permissions that's different than 2.x so
I'll take a stab --


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Olivier JAN
 Sent: Wednesday, February 06, 2008 4:23 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] web interface access and authorization
 
 
 Hi list,
 
 I have a question regarding web interface authorization with nagios 3.
 
 What i understood is that
 
 - you can have peoples not in contact for a host or service that can
 view all hosts and services but cannot issue commands for them (wiht
 right permissions).
 - You can have peoples define as contact for a host or service than
 can view and command all hosts and services for which they are
contact.
 

Correct for both.

 The questions are :
 
 Can you have people as contact for host and service that can view
 those hosts and services but CANNOT issue command on them. How can i
 achieve this ?

Set the 'can_submit_commands' parameter to the contact{} definition as
you like.
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact

 Can you have people not define as contact for a host and service to
 see only certains hostgroups or servicegroups and don't issue commands
 on them ?

No. There's no facility for limiting what's seen by authorized users
outside of being a contact for the host/service.

--
Marc


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] snmpwalk works, but check_snmp does not

2008-02-06 Thread Roger
On Feb 5, 2008 5:40 PM, Patrick Morris [EMAIL PROTECTED] wrote:

 Hi Roger!

 On Tue, 05 Feb 2008, Roger wrote:

  From CentOS (does not work)
 
  [EMAIL PROTECTED] plugins]# pwd
  /usr/lib/nagios/plugins
  [EMAIL PROTECTED] plugins]# ./check_snmp -C myPublicString -o
 nsVpnMonP2State.0 -l DC_VPN_Status -c 1: -H 10.0.11.9http://10.0.11.9
  DC_VPN_Status problem - No data received from host
  CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c myPublicString
 10.0.11.9:161http://10.0.11.9:161 nsVpnMonP2State.0
 
  From Gentoo (works)
 
  nagios01 libexec # pwd
  /usr/nagios/libexec
  nagios01 libexec # ./check_snmp -C myPublicString -o nsVpnMonP2State.0-l 
  DC_VPN_Status -c 1: -H
 10.0.11.9http://10.0.11.9
  DC_VPN_Status OK - 1 | NETSCREEN-VPN-MON-MIB::nsVpnMonP2State.0=1
 
  Normally, I'd think that it is an issue with the polled device not being
 configured properly, but since I can 'snmpwalk' it from the CentOS box in
 question, I'm not sure what to do.

 Two things:

 First, never manually check a plugin as root, as you often won't get the
 same results you would as the user Nagios runs as.  That probably won't
 help in this case, but it will almost certainly bite you in the ass in
 the future.

 Second, you've got the snmpget command being sent to the box... what
 happens when you run that (again, use the user Nagios runs as)?

 When you do an snmpwalk, are you able to see the nsVpnMonP2State OID?


The problem actually turned out to be the fact that that OID-MIB association
wasn't on that box.  So I scp'd the contents of the /etc/snmp folder to the
new box, and everything works perfectly now.

(Thank you for your time in responding to my email, Patrick.)
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] tickets nagios

2008-02-06 Thread narendran.neelamegam
This is what I found on Wonderdesk website.

Incoming email ability!  Emails sent to [EMAIL PROTECTED] are
automatically imported into the WonderDesk as help desk calls. Customers
and technicians can use their choice of the web interface or email to
communicate.  -- WonderDesk SQL only 
Incoming email automatically creates help desk account. -- WonderDesk
SQL only 
Incoming email automatically selects the category and/or subcategory
depending on the To address that the customer emailed to. --
WonderDesk SQL only 
Incoming email automatically assigns the call to the correct technician
depending on the To address that the customer emailed to. --
WonderDesk SQL only  


Regards,
Naren
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luis
Gardea
Sent: Thursday, February 07, 2008 1:26 AM
To: Anthony Mendoza
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] tickets nagios

i'm using wonderdesk 3.0 as helpdesk.

On Feb 6, 2008 10:47 AM, Anthony Mendoza [EMAIL PROTECTED]
wrote:
 Depends on the helpdesk system you use.  I added my helpdesk email 
 address as a contact for nagios so that any host or service down 
 results in a ticket being created via email with my helpdesk system.

  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of 
  Luis Gardea
  Sent: Wednesday, February 06, 2008 8:54 AM
  To: Nagios Users Mailinglist
  Subject: [Nagios-users] tickets nagios
 

  Hello
 
  I need that nagios create a ticket when a host or services are down.
 
 
  Any ideas for resolve that.
 
 
 --
 -
  --

  This SF.net email is sponsored by: Microsoft Defy all challenges. 
  Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  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



-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 submit passive test results from a script?

2008-02-06 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/02/08 10:16 AM, Tom Wlodek wrote:
 Ladies and gentlemen,
 
 I have a service running on nagios server and I would like to submit
 passive test results from a client script.
 
 I see that nagios has an interface to submit those results:
 
 https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
 cmd_typ=30host=my.host.comservice=nagios+test+service
 
 I go there and I see a form. All it takes is to fill this form and then
 clic submit.
 
 So I figured out that if I embed the form fields in URL and then load
 the URL then I will effectively submit the form. So I do:
 
 https://my.nagios.com/nagios/cgi-bin/cmd.cgi?
 cmd_typ=30host=my.host.comservice=nagios+test
 +serviceplugin_state=3plugin_output=pluginOuttputperformance_data=testbtnSubmit=Commit
 
 I load this page - and nothing happens.

The reason it doesn't work if because it is a POST request. You actually
have to send the fields in the content of the request (and the url may
be different, usually without any URL fields as they can go in the
request body). You should read more about the HTTP protocol if you want
to understand how it works.

Although, as other have already said, NSCA is likely what you want...

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHqpkz6dZ+Kt5BchYRArKEAKCjGkmyp9DvLm52C0W+E1qo/8lGxQCfc6pN
HZITp+4yO8j2S6Ts/DDny2w=
=F3/q
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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