Someone at work decided that auditing file open failures would be a
Good Idea.  So now the sysadmin is telling me that I've got something
like 150K file open failures logged in a day. (I like using snmp for
monitoring :)

Is there any way, short of changing the code, to _not_ look for app
specific startup files?

I added
  SNMPCONFPATH=$HOME/.snmp
to my .bashrc and that gets it down to only 10 file find failures:

$ snmpwalk -Dread_config deviceName system 2>&1 | grep "No such"
read_config: $HOME/.snmp/snmpwalk.conf: No such file or directory
read_config: $HOME/.snmp/snmpwalk.local.conf: No such file or directory
read_config: $HOME/.snmp/snmp.local.conf: No such file or directory
read_config: $HOME/.snmp/snmpapp.conf: No such file or directory
read_config: $HOME/.snmp/snmpapp.local.conf: No such file or directory
read_config: $HOME/.snmp/snmpwalk.conf: No such file or directory
read_config: $HOME/.snmp/snmpwalk.local.conf: No such file or directory
read_config: $HOME/.snmp/snmp.local.conf: No such file or directory
read_config: $HOME/.snmp/snmpapp.conf: No such file or directory
read_config: $HOME/.snmp/snmpapp.local.conf: No such file or directory

  [.. snip ..]

but I'm hoping there's some way to skip looking for app specific startup files.

Thanks,
Lee

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
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

Reply via email to