Re: [Nagios-users] Nagios & SNMP traps

2007-04-27 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, April 27, 2007 6:15 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios & SNMP traps
> 
> 
> Hi friends of Nagios!
> 
> I´m trying to monitor a service that works with snmp traps. The problem is
> that i recive the trap in my server, but nagios doesn´t do anything.
> The service  status is "pending", also when the trap arrives into our
> server  the status of the service that works with traps continues
> "pending".
> For making this work we follow a manual, we configured snmptrapd , we
> installed snmptrap translator and the simple event correlator (sec).
> Then we defined a service on Nagios to handle the traps on it. After that
> we introduced mib definition. The manual that we followed is this:
> 
> http://www.samag.com/documents/s=9559/sam0503g/
> 
> 
> Which migth be the problem?

Nagios is likely to be complaining in nagios.log. What do you see there? 
Possible problems --
Nagios isn't checking external commands.
Nagios isn't accepting passive checks.
Your script isn't writing to the correct nagios.cmd.
Your script doesn't have permission to write to nagios.cmd.
The service definition isn't configured for passive checks.
The host name/service description being submitted don't match a known 
host/service combination.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 & SNMP traps

2007-04-27 Thread Morris, Patrick
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Friday, April 27, 2007 4:15 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios & SNMP traps
> 
> I´m trying to monitor a service that works with snmp traps. 
> The problem is that i recive the trap in my server, but 
> nagios doesn´t do anything. 
> The service  status is "pending", also when the trap arrives 
> into our server  the status of the service that works with 
> traps continues  "pending". 

There are a lot of things that could be broken here, and not enough information 
to tell you which one.

Check your logs to make sure snmptt is getting the traps, and make sure that 
the trap(s) you're receiving are defined in its configs. If they are, verify 
that the EXEC command in the snmptt config is valid, and that it updates the 
status in Nagios if you run it manually.

Do you ever see the result submitted to Nagios in the Nagios logs? If you do, 
check for errors in the command it's receiving. If you don't, your problem is 
farther back in the chain, with snmptt or snmptrapd.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 & SNMP traps

2007-04-27 Thread Aritz . Lazkano
Hi friends of Nagios!

I´m trying to monitor a service that works with snmp traps. The problem is 
that i recive the trap in my server, but nagios doesn´t do anything.
The service  status is "pending", also when the trap arrives into our 
server  the status of the service that works with traps continues 
"pending".
For making this work we follow a manual, we configured snmptrapd , we 
installed snmptrap translator and the simple event correlator (sec).
Then we defined a service on Nagios to handle the traps on it. After that 
we introduced mib definition. The manual that we followed is this:

http://www.samag.com/documents/s=9559/sam0503g/


Which migth be the problem?

Any suggestion for monitor the traps?

P.D.

This problem happened on Nagios 2.7 and on  recently upgraded Nagios 3.0a3-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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 snmp traps??

2007-01-28 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Saturday, January 27, 2007 11:54 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] nagios snmp traps??
> 
> Nagios 2.4
> i have snmp translator installed and snmp, i would like to capture
snmap
> traps and trsnalte the oid where i would view them in my log file how
do i
> do this. A test for this would be a start

Did you read the documentation page on SNMP Traps? I believe it's going
to have everything you need.

-
Marc

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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 snmp traps??

2007-01-27 Thread Nedim Bicic

Nagios 2.4
i have snmp translator installed and snmp, i would like to capture snmap
traps and trsnalte the oid where i would view them in my log file how do i
do this. A test for this would be a start
I have read that you have to have MIBS uploaded in order for the snmp to
translate proper oid ?
as a test i have configured one of my routers to send traps to my linux box
but i cant see any messages??
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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 / SNMP Traps

2006-03-28 Thread Ton Voon

On 28 Mar 2006, at 19:09, Travis wrote:


Hello all -
 I have a question regarding SNMP traps in Nagios. From my  
understanding, this can be done differently depending on what you  
need and how things are configured on your network. At this point,  
I am currently using Nagios with Active Service/Host checks only.  
I'm monitoring Internet accessible services such as status of POP/ 
SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as  
partition usage/load average/processes etc.. via the NRPE daemon/ 
client application. However, all these checks are using the plugins  
that were provided with the Nagios installation and some of my own  
small scripts.


Currently on our Cisco routers, we are able to monitor whether  
or not the interface link is up or down, we can also be notified if  
a link load passes a certain threshold, say 80%. Again, these are  
just using the plugins available either from the Nagios  
installation or from Nagios exchange. But what I want to be able to  
do, is configure traps so that Nagios can be notified when other  
things occur such as: power supply failure, input queue reaching a  
certain level, latency if possible and many other things that are  
defined in the default MIB of our Cisco routers.


   So my question is, what is the best way to monitor these things?  
What are all my options? My understanding is that I would have to  
configure the traps on the Cisco device to send event information  
to a central snmptrapd, then that info is passed on to the Nagios  
host which is listening for Passive Checks which will then alert us  
via pager/email etc..


   But my question is, how is all this done? How do I configure the  
Monitored host to send these events to snmptrapd? How do I  
configure the snmptrapd? How do I configure snmptrapd to pass this  
info onto Nagios?  Do I need to use SNMPTT as an event correlator  
or not?  If so, how is that configured? What all has to be defined  
in Nagios for the paging to happen once it sees the passive check  
result in the external command file?


   Anyway, I am open for suggestions. Examples of how things are  
configured would be great. Try to break it down so that I can  
understand what's doing what and how.


   All suggestions / information is greatly appreciated. Even if  
it's just pointing me to the right documentation. Thanks a bunch !!!


Travis,

A single post would have been sufficient :)

We've been implementing SNMP traps and we've written an article on  
our experiences on it. It is only a pointer to how things are done,  
with a perl module that can help - SNMP::Trapinfo - There is still  
integration work that needs to be done, but it is a start.


http://altinity.blogs.com/dotorg/2006/03/lessons_in_snmp.html

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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


[Nagios-users] Nagios / SNMP Traps

2006-03-28 Thread Travis
Hello all -  I have a question regarding SNMP traps in Nagios.
>From my understanding, this can be done differently depending on what
you need and how things are configured on your network. At this point,
I am currently using Nagios with Active Service/Host checks only. I'm
monitoring Internet accessible services such as status of
POP/SMTP/Web/SSh/DNS etc.. and I'm monitoring local services such as
partition usage/load average/processes etc.. via the NRPE daemon/client
application. However, all these checks are using the plugins that were
provided with the Nagios installation and some of my own small scripts.
    Currently on our Cisco routers, we are able to monitor
whether or not the interface link is up or down, we can also be
notified if a link load passes a certain threshold, say 80%. Again,
these are just using the plugins available either from the Nagios
installation or from Nagios exchange. But what I want to be able to do,
is configure traps so that Nagios can be notified when other things
occur such as: power supply failure, input queue reaching a certain
level, latency if possible and many other things that are defined in
the default MIB of our Cisco routers.
   So my question is, what is the best way to monitor these
things? What are all my options? My understanding is that I would have
to configure the traps on the Cisco device to send event information to
a central snmptrapd, then that info is passed on to the Nagios host
which is listening for Passive Checks which will then alert us via
pager/email etc..
   But my question is, how is all this done? How do I
configure the Monitored host to send these events to snmptrapd? How do
I configure the snmptrapd? How do I configure snmptrapd to pass this
info onto Nagios?  Do I need to use SNMPTT as an event correlator or
not?  If so, how is that configured? What all has to be defined in
Nagios for the paging to happen once it sees the passive check result
in the external command file? 
   Anyway, I am open for suggestions. Examples of how things are
configured would be great. Try to break it down so that I can
understand what's doing what and how.    All suggestions /
information is greatly appreciated. Even if it's just pointing me to
the right documentation. Thanks a bunch !!!