weird snmptt issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

weird snmptt issue

Post by benhank »

hey when I run

Code: Select all

service snmptt restart
a buch of this comes out:

Code: Select all

,This notification is a generic notification intended for direct user $*,
Event: .1.3.6.1.4.1.476.1.42.3.7.8.2 => lgpSysNormal,Status Events,Normal,The system has returned to a normal operating state. This implies $*,
Event: .1.3.6.1.4.1.8072.2.3.0.1 => netSnmpExampleHeartbeatNotification,Status Events,Normal,An example notification, used to illustrate the $*,
Event: .1.3.6.1.4.1.8072.4.0.1 => nsNotifyStart,Status Events,Normal,An indication that the agent has started running. $*,
Event: .1.3.6.1.4.1.8072.4.0.2 => nsNotifyShutdown,Status Events,Normal,An indication that the agent is in the process of being shut down. $*,
Event: .1.3.6.1.4.1.8072.4.0.3 => nsNotifyRestart,Status Events,Normal,An indication that the agent has been restarted. $*,
Event: .1.3.6.1.6.3.1.1.5.1 => coldStart,Status Events,Normal,A coldStart trap signifies that the SNMP entity, $*,
Event: .1.3.6.1.6.3.1.1.5.2 => warmStart,Status Events,Normal,A warmStart trap signifies that the SNMP entity, $*,
Event: .1.3.6.1.6.3.1.1.5.3 => linkDown,Status Events,Normal,A linkDown trap signifies that the SNMP entity, acting in $*,
Event: .1.3.6.1.6.3.1.1.5.4 => linkUp,Status Events,Normal,A linkUp trap signifies that the SNMP entity, acting in an $*,
Event: .1.3.6.1.6.3.1.1.5.5 => authenticationFailure,Status Events,Normal,An authenticationFailure trap signifies that the SNMP $*,

Finished printing out all events in hash table
==========================================================
cwd: /
                                                           [  OK  ]
what gives?
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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: weird snmptt issue

Post by abrist »

Someone correct me if I am wrong, but those are cached events getting handled. . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: weird snmptt issue

Post by benhank »

so vas ist dast meen?
whatcho talkin bout willis?

is ther a way tah clear the cache?
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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: weird snmptt issue

Post by abrist »

I am talkin' bout the traps Gary.
Does it happen every time you restart the service?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: weird snmptt issue

Post by benhank »

yeah, but i think this is from a a bad conversion of my mibs
the devices it's showing have never been monitored or cfg'd to send traps to this system.
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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: weird snmptt issue

Post by abrist »

Ahhh. Are you using any of these mibs currently? If not, we could remove the mibs to silence the spam on process restart.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: weird snmptt issue

Post by benhank »

Now in case all you fellow nagiosians, who may or may not be crackin up laughing at my terrible imitation of being a real IT guy, are wonderin "how does this guy keep his job?" All I can say is " cameras + tape recorders + upper management offices = "If I go down, we ALL goin' down"

But, aB did you know that in the snmptt.ini file if you change
DEBUGGING_FILE_HANDLER = /var/log/snmptt/snmptthandler.debug
to
DEBUGGING_FILE_HANDLER = /var/log/snmptt/snmptthandler.debug # enabled by BH 12/09/13,
you end up on the forums getting laffed at?
you can lock it up man
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: weird snmptt issue

Post by sreinhardt »

you might want to change that to:

# DEBUGGING_FILE_HANDLER = /var/log/snmptt/snmptthandler.debug # disabled by BH 12/09/13

this really isnt needed and is going to take a ton of space as you do more and more with traps.
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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: weird snmptt issue

Post by abrist »

Lock, stock, and two smoking IT guys.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked