Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
bilco105
Posts: 3 Joined: Sat Oct 14, 2006 2:40 pm
Post
by bilco105 » Sat Oct 14, 2006 2:43 pm
Hello,
I am trying to follow the how-to found here;
http://wotsit.thingy.com/haj/cacti/cacti-qmail.html , however, when trying to run the poller, i'm getting back
Result from SNMP not valid. Partial Result: No Such Object avail
.
My snmp config is as follows;
# Access Control
rocommunity xxx xxxxxx
syslocation xxxx
syscontact xxxx
createUser xxxx MD5 xxxx DES
group groupv3 usm xxxx
view all included .iso 80
access groupv3 "" any auth exact all all all
disk /
disk /home
disk /var
disk /usr
# qMail MRTG Permissions
extend qmail-message-status /usr/local/bin/qmailmrtg7 s /var/log/qmail
extend qmail-bytes-transfer /usr/local/bin/qmailmrtg7 b /var/log/qmail
extend qmail-smtp-concurrency /usr/local/bin/qmailmrtg7 t /var/log/smtpd
extend qmail-smtp-sessions /usr/local/bin/qmailmrtg7 a /var/log/smtpd
extend qmail-pop3-concurrency /usr/local/bin/qmailmrtg7 t /var/log/pop3d
extend qmail-pop3-sessions /usr/local/bin/qmailmrtg7 a /var/log/pop3d
extend qmail-queue /usr/local/bin/qmailmrtg7 q /var/qmail/queue
extend qmail-messages /usr/local/bin/qmailmrtg7 m /var/log/qmail
extend qmail-concurrency /usr/local/bin/qmailmrtg7 c /var/log/qmail
.
The OID I am running is
.1.3.6.1.4.1.8072.1.3.2.4.1.2.22.113.109.97.105.108.45.115.109.116.112.45.99.111.110.99.117.114.114.101.110.99.121.1
Any ideas? - Note I'm using snmp3 and its authorizing me correctly, as I can grab the cpu load etc.
bilco105
Posts: 3 Joined: Sat Oct 14, 2006 2:40 pm
Post
by bilco105 » Sat Oct 14, 2006 3:01 pm
One thing I noticed is that these use MIBS, cacti uses OIDS correct?.
How exactly would I convert these?
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Oct 14, 2006 3:10 pm
Hmm, use snmptranslate may help???
Easy approach: simply walk the MIB starting at the "base value" e.g. the vendor's id and watch out for your value
Reinhard
bilco105
Posts: 3 Joined: Sat Oct 14, 2006 2:40 pm
Post
by bilco105 » Sat Oct 14, 2006 3:46 pm
How would I use snmptranslate? - or how would I do the walk through?
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sat Oct 14, 2006 4:00 pm
Not a net-snmp forum here. Please try reading
Should be enough for a start.
The snmpwalk, when "nothing" is known, may simply be executed as
Code: Select all
snmpwalk -c <your community string> -v 1 <your target host>
But this may produce lots of output. Please do not use this on a production system. Sometimes, this will cause the target to use "very much cpu"
Reinhard
Users browsing this forum: No registered users and 2 guests