On 1/6/11, Wes Hardaker <harda...@users.sourceforge.net> wrote: >>>>>> On Thu, 6 Jan 2011 14:52:18 -0400, Lee <ler...@gmail.com> said: > > L> Someone at work decided that auditing file open failures would be a > L> Good Idea. So now the sysadmin is telling me that I've got something > L> like 150K file open failures logged in a day. (I like using snmp for > L> monitoring :) > > Ha! Tell your sysadmin he must have a really boring job. Many > applications open and check for non-existent files.
^shrug^ apparently someone thinks it's an indicator that hakerz has broken in > L> I added > L> SNMPCONFPATH=$HOME/.snmp > > That'd be the right place to start. > > L> $ snmpwalk -Dread_config deviceName system 2>&1 | grep "No such" > L> read_config: $HOME/.snmp/snmpwalk.conf: No such file or directory > > Well, setting it to /does/not/exist would actually help. In fact, > setting it to "" would help as well (or do "/dev/null"). I must be missing something: export SNMPCONFPATH= snmpwalk deviceName system fails. I need the app to read my $HOME/.snmp/snmp.conf file and I'm not seeing an option that says read >this< config file. > But the real issue is your system administrator. He's getting in the > way of your job, not the other way around. Offer a quick perl filter > for him to quickly filter out his bogus records of you :-) s/system administrator/security office/ I don't know who they listen to, but the voice of reason doesn't seem to be on their list. My work-around is to have a bunch of 0 byte files in my $HOME/.snmp directory, but it'd be nice if there was a way to tell the app to read >this< config file and don't go looking for any others.. Thanks, Lee ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders