Comments (6)
Hi, thanks for the report.
I'm having trouble replicating this. Can you please post the contents of /etc/snmpd-mdraid-connector
, a listing of whichever directory CACHEDIR
points to (usually /tmp/snmp-cache/mdadm/
) and the contents of the files therein (unless there are loads in which case devices
and the first two dev_mdXXX_mdinfo
files will probably do).
Thanks.
from snmpd-mdraid-connector.
/etc/snmpd-mdraid-connector
# List (or glob) of raid devices to monitor
DEVICES=(/dev/md*[0-9])
# Path to cache directory
CACHEDIR=/tmp/snmp-cache/mdadm
# Command to run mdadm
MDADMCMD="/sbin/mdadm"
# Define debug to log lots
DEBUG="true"
In the attachment CACHEDIR zip
mdadm.zip
Thank you so much
from snmpd-mdraid-connector.
Hi, thanks for the files.
I still can't replicate this - it works as expected for me!
Which version of the following packages are you using?
snmp-agents/snmpd-mdraid-connector
dev-libs/snmpd-connector-lib
dev-libs/hacking-bash-lib
net-analyzer/net-snmp
Thanks.
from snmpd-mdraid-connector.
~ # emerge -av snmpd-mdraid-connector
[ebuild R ] snmp-agents/snmpd-mdraid-connector-1.0.1::mad-hacking USE="-test" 0 KiB
~ # emerge -av snmpd-connector-lib
[ebuild R ] dev-libs/snmpd-connector-lib-1.0.0::mad-hacking USE="-test" 0 KiB
~ # emerge -av hacking-bash-lib
[ebuild R ] dev-libs/hacking-bash-lib-1.0.1::mad-hacking USE="-test" 0 KiB
~ # emerge -av net-analyzer/net-snmp
[ebuild R ] net-analyzer/net-snmp-5.9-r2:0/40::gentoo USE="bzip2 elf kmem netlink pci perl python smux ssl ucd-compat zlib -X -doc -ipv6 -libressl -lm-sensors -mfd-rewrites -minimal -mysql -pcap -rpm (-selinux) -tcpd" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 0 KiB
from snmpd-mdraid-connector.
Thanks.
From a quick analysis it seems that the problem is caused by the ucd-compat
use-flag.
For now if you re-merge with that flag disabled it should work. I shall look into the modifications required to make the underlying snmpd-connector-lib
compatible with ucd-compat
.
Let me know how you get on.
from snmpd-mdraid-connector.
Thanks, it helped, now it works.
[ebuild R ] net-analyzer/net-snmp-5.9-r2:0/40::gentoo USE="bzip2 elf kmem netlink pci perl python smux ssl zlib -X -doc -ipv6 -libressl -lm-sensors -mfd-rewrites -minimal -mysql -pcap -rpm (-selinux) -tcpd -ucd-compat" PYTHON_SINGLE_TARGET="python3_8 -python3_6 -python3_7" 0 KiB
snmpwalk -v2c -c public localhost .1.3.6.1.4.1.38696.2.2.2.1.2
MD-RAID-MIB::mdRaidArrayDev.1 = STRING: /dev/md0
MD-RAID-MIB::mdRaidArrayDev.2 = STRING: /dev/md1
from snmpd-mdraid-connector.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snmpd-mdraid-connector.