did you know that everything that is impossible is possible?
I just wanted to know if I can have nagios display and report unknown traps sent to it.
can nagios display unknown traps sent to it?
can nagios display unknown traps sent to it?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: can nagios display unknown traps sent to it?
yes, in the sense that nagios does not interpret the trap, snmptt is what determines if it is known or unknown. There should be a setting in snmptt.ini on exec-ing unknown traps. Setting this to something similar to how other traps are exec-ed in snmptt.conf should do this for you, basically using snmptraphandler.py with some basic arguments. I will say that I have not done this, so it will be a bit of a learning process for us both. I do have a way to test and validate this on my home system once I'm done with my current task. I would note that this may lead to quite a few items in unconfigured objects if not handled carefully.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: can nagios display unknown traps sent to it?
that was alot of werds. I fell apart after "ye".. JK thanks man I will report my findings.
btw, off the top off your head, have you ever seen this:?
Never mind. I just got medieval on em... wiped them out and replaced them (reinstalled).
btw, off the top off your head, have you ever seen this:?
Code: Select all
[root@lkennagiost01 ~]# service snmpd restart
Stopping snmpd: [FAILED]
[root@lkennagiost01 ~]# service snmptt restart
Stopping snmptt: [ OK ]
Starting snmptt: PID file: /var/run/snmptt.pid
[ OK ]
[root@lkennagiost01 ~]# service snmptrapd restart
Stopping snmptrapd: [FAILED]
no changed made to the server...
Never mind. I just got medieval on em... wiped them out and replaced them (reinstalled).
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: can nagios display unknown traps sent to it?
Oh.. well then, I guess that is one way to do it, I was going to have you call the init script manually and see if it bails with more verbose output.
Re: can nagios display unknown traps sent to it?
yeah but i did a google search, and got a lot of replies saying that there is a bug in the new snmp... so the "screw that!" protocol was invoked.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: can nagios display unknown traps sent to it?
Hahaha, but what do you mean by the "new snmp?" It may be helpful if you link one of the pages you read.