On 11 July 2012 15:11, Tim Chipman <[email protected]> wrote:
> I have a number of OpenVZ based VMs running CentOS 6.3 /64bit


> The log file, /var/log/messages - gets frequent messages logged, as follows:
> Jul 11 18:03:59 hostname snmpd[1779]: /proc/partitions: No such file or 
> directory
> Jul 11 18:04:04 hostname snmpd[1779]: /proc/partitions: No such file or 
> directory

> I do note, that /proc/partitions does indeed not exist inside the OpenVZ VM.

What about /proc/diskstats ?
That would be the more usual interface for modern kernels  (i.e. 2.6)
/proc/partitions is for 2.4 kernels.


> I'm wondering if there is some graceful way to tell snmpd to simply 'not
> worry' about this, and to please stop logging these messages

You could always run the agent using  -I-diskio
That ought to suppress these messages (at the cost of losing diskIO statistics)

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to