<-- garysteers2 has left #net-snmp
[2013/05/30 07:02:18] #net-snmp <Guest16828> Does anyone happen to know which MySQL table snmptrapd would try to access, for logging?
[2013/05/30 07:02:38] #net-snmp <Guest16828> And uhh... Did I miss it in some documentation?
[2013/05/30 07:06:32] #net-snmp <Guest16828> A search for "sql" on the Wiki doesn't yield any hits, the man page doesn't specify. It's just out of reach, I'm sure...
[2013/05/30 07:08:36] #net-snmp <rstory-work> schema-snmptrapd.sql creates net-snmp 'notifications' and 'varbinds' tables
[2013/05/30 07:09:03] #net-snmp <Guest16828> rstory-work: Thank yoU!
[2013/05/30 07:09:07] #net-snmp <Guest16828> U=u
[2013/05/30 07:31:38] #net-snmp <Guest16828> Ok, so I created the net_snmp and performed the import. Great.
[2013/05/30 08:03:34] #net-snmp <Guest16828> Cool. An snmptrap made an entry in the 'notifications' table. Thanks again, rstory-work.
[2013/05/30 08:05:14] #net-snmp <Guest16828> Have an exciting day.
[2013/05/30 10:43:28] #net-snmp <Guest77353> I'm back! I'm trying to get monitors working. I see in my log: failed to run mteTrigger query
[2013/05/30 10:43:54] #net-snmp <Guest77353> Is there any way I can poke snmpd into greater verbosity?
[2013/05/30 11:06:31] #net-snmp <rstory-work> do you have a iquerySecName or agentSecName defined in snmpd.conf? (see the DisMan Event MIB section of the snmpd.conf man page)
[2013/05/30 11:21:21] #net-snmp <Guest77353> I did, indeed.
[2013/05/30 11:21:31] #net-snmp <Guest77353> Sorry for the ask-and-walk; wasn't sure when you'd check IRC.
[2013/05/30 11:21:53] #net-snmp <Guest77353> And the SNMPv3 user exists.
[2013/05/30 11:23:16] #net-snmp <Guest77353> I just tried 'snmpd -f -Ddisman' to see what would show, but then it didn't produce the mteTrigger message, but it also didn't send a trap.
[2013/05/30 11:25:38] #net-snmp <Guest77353> Er, a notification
[2013/05/30 11:26:39] #net-snmp <Guest77353> The [assumed] relevant section has authtrapenable, agentSecName, monitor, defaultMonitors lines.
[2013/05/30 11:27:50] #net-snmp <Guest77353> Oh silly me: The mtrTrigger message was in /var/log/snmpd.log once I used -f -Ddisman
[2013/05/30 11:29:01] #net-snmp <Guest77353> disman:event:trigger:monitor: Trigger query (walk) failed: 16
[2013/05/30 11:29:25] #net-snmp <Guest77353> Could it be that I have the wrong OID in my 'monitor' line?
[2013/05/30 11:29:42] #net-snmp <Guest77353> Ah, but it says the same thing for all other triggers.
[2013/05/30 11:44:01] #net-snmp <Guest77353> Must be an SNMPv3 user misconfiguration.
[2013/05/30 11:44:50] #net-snmp <Guest77353> But I've a createUser, rouser for it, as suggested: http://www.net-snmp.org/wiki/index.php/TUT:DisMan_Monitoring
[2013/05/30 11:48:00] #net-snmp <rstory-work> no worries, irc is commonly ask-n-walk or answer-n-walk.. :-) what release are you running?
[2013/05/30 11:48:54] #net-snmp <Guest77353> It is...
[2013/05/30 11:49:12] #net-snmp <Guest77353> 5.7.1
[2013/05/30 12:05:28] #net-snmp <rstory-work> can you pastebin your createUser, iquerySecName, rouser & monitor lines from snmpd.conf, and the disman log messages?
[2013/05/30 12:05:58] #net-snmp <rstory-work> (btw, if you add -Lo to your command line, output will go to the terminal instead of snmpd.log)
[2013/05/30 12:13:20] #net-snmp <Guest77353> Oh, will do.
[2013/05/30 12:48:52] #net-snmp <Guest77353> Blah. Job... Making... Busy...
[2013/05/30 13:07:54] #net-snmp <Guest77353> Now what... The bloody thing won't start.
[2013/05/30 13:08:05] #net-snmp <Guest77353> I don't remember changing anything.
[2013/05/30 13:08:14] #net-snmp <Guest77353> Error opening specified endpoint ""
[2013/05/30 13:08:14] #net-snmp <Guest77353> Server Exiting with code 1
[2013/05/30 13:15:03] #net-snmp <Guest77353> rstory-work: http://pastebin.com/D3AJPEMt
[2013/05/30 13:15:33] #net-snmp <Guest77353> There is more inside snmpd.conf, but those are the pieces I think you asked for.
[2013/05/30 14:04:40] #net-snmp <rstory-work> Guest77353: get rid of the 'priv' on your rouser line..
[2013/05/30 14:04:48] #net-snmp <Guest77353> Ok!
[2013/05/30 14:05:02] #net-snmp <Guest77353> ACTION does drum roll...
[2013/05/30 14:06:32] #net-snmp <Guest77353> Ta-da!
[2013/05/30 14:06:47] #net-snmp <Guest77353> So now to look up how stupid my mistake was.
[2013/05/30 16:10:14] #net-snmp <Guest77353> Have a nice day.