On Thu, 19 Mar 2009, Joseph Ribin Roy wrote:
> Hi All,
>
> When a trap comes in It is not executing
> EXEC /usr/local/nmt-3.0.3/libexec/eventhandlers/submit_check_result
> 10.10.7.37 SNMPv2-SMI::enterprises.20006.1.3.1.6 1 "Joseph Ribin
> Roy." and writing it to the Nagios.cmd file. I am se
Hi All,
When a trap comes in It is not executing
EXEC /usr/local/nmt-3.0.3/libexec/eventhandlers/submit_check_result
10.10.7.37 SNMPv2-SMI::enterprises.20006.1.3.1.6 1 "Joseph Ribin
Roy." and writing it to the Nagios.cmd file. I am seeing following
log file.
Agent dns name: Value 0: Th
2009/3/12 Marco Tirado :
> Hello Jim:
>
> Thank you very much for the help, after changing the last line in the
> submit_check_result script from the default of:
>
> `$echocmd $cmdline >> $CommandFile`
>
> to:
>
> sg nagiocmd -c "echo '$cmdline' >> $CommandFile"
>
> everything works fine.
>
> As fo
Hello Jim:
Thank you very much for the help, after changing the last line in the
submit_check_result script from the default of:
`$echocmd $cmdline >> $CommandFile`
to:
sg nagiocmd -c "echo '$cmdline' >> $CommandFile"
everything works fine.
As for my setup, I run nagios 3 and Nagtrap. However
p.s. I'd be interested to know what instructions you followed to get
your method working? I moved to using NagTrap because I found that
maintaining the submit_check_result script was rather time-consuming,
but if things have moved on a bit since I last set mine up I'd be
interested to see if it's
2009/3/12 Marco Tirado :
> They look like this:
>
> For nagios.cmd
>
> prw-rw 1 nagios nagcmd 0 2009-03-11 18:53 nagios.cmd
>
>
> for the rw catalog:
>
> drwxrwsr-x 2 nagios nagcmd 4096 2009-03-11 18:14 rw
>
> Please let me know if something looks obviously wrong.
No, those look absolute
They look like this:
For nagios.cmd
prw-rw 1 nagios nagcmd0 2009-03-11 18:53 nagios.cmd
for the rw catalog:
drwxrwsr-x 2 nagios nagcmd 4096 2009-03-11 18:14 rw
Please let me know if something looks obviously wrong.
//Marco
On Wed, Mar 11, 2009 at 8:12 PM, Jim Avery wrote:
> 200
2009/3/11 Marco Tirado :
>
>
> My snmptt.conf file for the trap I am testing looks like:
>
> EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal
> FORMAT $D. $Fn VARIABLE VALUES: $-*
> EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost"
> "snmp_traps" 1 "My
My snmptt.conf file for the trap I am testing looks like:
EVENT ospfOriginateLsa .1.3.6.1.2.1.14.16.2.0.12 "Status Events" Normal
FORMAT $D. $Fn VARIABLE VALUES: $-*
EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result "myhost"
"snmp_traps" 1 "My text message" >> /tmp/OutputTest 2>&1
S
Hello Users:
I am having touble integrating nagios with snmptt, it seems that the snmptt
daemon can not write passive check results to the
/usr/local/nagios/var/rw/nagios.cmd file. I get the following error:
"cannot create /usr/local/nagios/var/rw/nagios.cmd: Permission denied"
The wierd thing i
On Fri, 16 Feb 2007, Kevin DaSilva wrote:
> Thank you
>
> Some how my net-snmp or snmpt is translating the INTEGER instead of the
> OID.
>
> To your knowledge are there any parameters that need to setup?
There are several config parameters pertaining to OID translation:
Mine are set like
Thank you
Some how my net-snmp or snmpt is translating the INTEGER instead of the
OID.
To your knowledge are there any parameters that need to setup?
>>> Israel Brewster <[EMAIL PROTECTED]> 2/16/2007 12:41 PM >>>
A snipit from mine (some data x'd out of course):
Fri Jan 5 13:24:12 2007: U
A snipit from mine (some data x'd out of course):
Fri Jan 5 13:24:12 2007: Unknown trap (.1.3.6.1.4.1.562.50.1.1.0.6)
received from at:
Value 0:
Value 1: xx.x.x.xx
Value 2: 0:0:00:09.99
Value 3: .1.3.6.1.4.1.562.50.1.1.0.6
Value 4: xx.xx.xx.xxx
Value 5: public
Value 6:
Ent Value 0: .1
Hi All...
Can someone send me a snmpttunknown.log file. I would like to compare a
good log file to mine. I'm not sure that snmptt is configured correctly.
I seem to have all my traps logged as unknown. It seems that snmptt is
looking at the INTEGER and not the OID.
I have nothing being logged int
Hello,
I have a problem with nagios
I use a lot of passive services and I have some scripts that write a
process_service_check_result into the nagios.cmd file and also log
before writing into the cmd file.
The length of the written line is variable, and sometimes it can be
verry verry long
15 matches
Mail list logo