[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
apt-get install snmp-mibs-downloader Fixed it for me in 12.04. I'll spare everyone the deluge of obscenities I'm currently spewing at everyone within earshot of my brain. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
It doesn't look like your OID is correct, below is the one used for NET- SNMP-EXTEND-MIB: zef@lucid:~$ snmpwalk -v1 -c stokescanonical localhost .1.3.6.1.4.1.8072.1.3.2 NET-SNMP-EXTEND-MIB::nsExtendNumEntries.0 = INTEGER: 1 NET-SNMP-EXTEND-MIB::nsExtendCommand.top_lists = STRING: /bin/sh NET-SNMP-EXTEND-MIB::nsExtendArgs.top_lists = STRING: /usr/local/bin/blah.sh NET-SNMP-EXTEND-MIB::nsExtendInput.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendCacheTime.top_lists = INTEGER: 5 NET-SNMP-EXTEND-MIB::nsExtendExecType.top_lists = INTEGER: exec(1) NET-SNMP-EXTEND-MIB::nsExtendRunType.top_lists = INTEGER: run-on-read(1) NET-SNMP-EXTEND-MIB::nsExtendStorage.top_lists = INTEGER: permanent(4) NET-SNMP-EXTEND-MIB::nsExtendStatus.top_lists = INTEGER: active(1) NET-SNMP-EXTEND-MIB::nsExtendOutput1Line.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendOutputFull.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendOutNumLines.top_lists = INTEGER: 1 NET-SNMP-EXTEND-MIB::nsExtendResult.top_lists = INTEGER: 9 NET-SNMP-EXTEND-MIB::nsExtendOutLine.top_lists.1 = STRING: Nothing else has changed as far as configuration goes. Thanks, Adam -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
For now I'll set this to invalid as I've had no issues getting external scripts to execute through NET-SNMP-EXTEND-MIB ** Changed in: net-snmp (Ubuntu) Status: Confirmed = Fix Released ** Tags added: verification-done-lucid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
snmp commands do work with: mheldebr@server:/$ snmpwalk -v2c -c REDACTED localhost 'NET-SNMP-EXTEND-MIB::nsExtendOutLine.svncommits.1' NET-SNMP-EXTEND-MIB::nsExtendOutLine.svncommits.1 = STRING: 11486 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Michael, You could alter your previous query to resemble something like the following: zef@lucid:/tmp$ snmpget -v1 -c stokescanonical localhost 'NET-SNMP-EXTEND-MIB::nsExtendResult.top_lists' NET-SNMP-EXTEND-MIB::nsExtendResult.top_lists = INTEGER: 9 Thanks, Adam -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
I'm not able to reproduce your issue exactly, but here is information which shows that the snmp extend functionality is available in latest lucid. zef@lucid:/tmp$ ps -ef |grep nfsd root 1152 2 0 13:29 ?00:00:00 [nfsd4] root 1156 2 0 13:29 ?00:00:00 [nfsd] root 1157 2 0 13:29 ?00:00:00 [nfsd] root 1158 2 0 13:29 ?00:00:00 [nfsd] root 1159 2 0 13:29 ?00:00:00 [nfsd] root 1160 2 0 13:29 ?00:00:00 [nfsd] root 1161 2 0 13:29 ?00:00:00 [nfsd] root 1162 2 0 13:29 ?00:00:00 [nfsd] root 1163 2 0 13:29 ?00:00:00 [nfsd] zef 2194 1647 0 13:47 pts/000:00:00 grep --color=auto nfsd zef@lucid:/tmp$ snmpwalk -v 2c -c stokescanonical localhost NET-SNMP-EXTEND-MIB::nsExtendObjects NET-SNMP-EXTEND-MIB::nsExtendNumEntries.0 = INTEGER: 1 NET-SNMP-EXTEND-MIB::nsExtendCommand.top_lists = STRING: /bin/sh NET-SNMP-EXTEND-MIB::nsExtendArgs.top_lists = STRING: /usr/local/bin/blah.sh NET-SNMP-EXTEND-MIB::nsExtendInput.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendCacheTime.top_lists = INTEGER: 5 NET-SNMP-EXTEND-MIB::nsExtendExecType.top_lists = INTEGER: exec(1) NET-SNMP-EXTEND-MIB::nsExtendRunType.top_lists = INTEGER: run-on-read(1) NET-SNMP-EXTEND-MIB::nsExtendStorage.top_lists = INTEGER: permanent(4) NET-SNMP-EXTEND-MIB::nsExtendStatus.top_lists = INTEGER: active(1) NET-SNMP-EXTEND-MIB::nsExtendOutput1Line.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendOutputFull.top_lists = STRING: NET-SNMP-EXTEND-MIB::nsExtendOutNumLines.top_lists = INTEGER: 1 NET-SNMP-EXTEND-MIB::nsExtendResult.top_lists = INTEGER: 9 NET-SNMP-EXTEND-MIB::nsExtendOutLine.top_lists.1 = STRING: zef@lucid:/tmp$ sudo cat /etc/snmp/snmpd.conf ### # # snmpd.conf # ### rocommunity stokescanonical extend top_lists /bin/sh /usr/local/bin/blah.sh zef@lucid:/tmp$ cat /usr/local/bin/blah.sh #!/bin/bash NUMPIDS=`pgrep nfsd | wc -l` exit $NUMPIDS zef@lucid:/tmp$ uname -a Linux lucid 2.6.32-41-generic #89-Ubuntu SMP Fri Apr 27 22:18:56 UTC 2012 x86_64 GNU/Linux zef@lucid:/tmp$ dpkg -l snmp snmpd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersion Description +++-===-===-== ii snmp5.4.2.1~dfsg0ubuntu SNMP (Simple Network Management Protocol) applications ii snmpd 5.4.2.1~dfsg0ubuntu SNMP (Simple Network Management Protocol) agents -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
It seems then that neither exec not extend let me anchor the oid where I want like I could before. Either way will give I just had to go digging for the numeric OID to poll with cacti with snmpwalk. mheldebr@server:/svn-hotcopy$ sudo grep extend /etc/snmp/snmpd.conf extend svncommits /bin/sh /svn-hotcopy/svnyoungest mheldebr@server:/svn-hotcopy$ snmpwalk -v 2c -c REDACTED localhost NET-SNMP-EXTEND-MIB::nsExtendObjects -On .1.3.6.1.4.1.8072.1.3.2.1.0 = INTEGER: 1 .1.3.6.1.4.1.8072.1.3.2.2.1.2.10.115.118.110.99.111.109.109.105.116.115 = STRING: /bin/sh .1.3.6.1.4.1.8072.1.3.2.2.1.3.10.115.118.110.99.111.109.109.105.116.115 = STRING: /svn-hotcopy/svnyoungest .1.3.6.1.4.1.8072.1.3.2.2.1.4.10.115.118.110.99.111.109.109.105.116.115 = STRING: .1.3.6.1.4.1.8072.1.3.2.2.1.5.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: 5 .1.3.6.1.4.1.8072.1.3.2.2.1.6.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: exec(1) .1.3.6.1.4.1.8072.1.3.2.2.1.7.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: run-on-read(1) .1.3.6.1.4.1.8072.1.3.2.2.1.20.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: permanent(4) .1.3.6.1.4.1.8072.1.3.2.2.1.21.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: active(1) .1.3.6.1.4.1.8072.1.3.2.3.1.1.10.115.118.110.99.111.109.109.105.116.115 = STRING: 11145 .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.115.118.110.99.111.109.109.105.116.115 = STRING: 11145 .1.3.6.1.4.1.8072.1.3.2.3.1.3.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: 1 .1.3.6.1.4.1.8072.1.3.2.3.1.4.10.115.118.110.99.111.109.109.105.116.115 = INTEGER: 0 .1.3.6.1.4.1.8072.1.3.2.4.1.2.10.115.118.110.99.111.109.109.105.116.115.1 = STRING: 11145 mheldebr@server:/svn-hotcopy$ snmpget -v 2c -c REDACTED localhost \ .1.3.6.1.4.1.8072.1.3.2.4.1.2.10.115.118.110.99.111.109.109.105.116.115.1 NET-SNMP-EXTEND-MIB::nsExtendOutLine.svncommits.1 = STRING: 11145 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Michael, Let me do some more investigating on this and I'll get back to you. Thanks for testing Adam -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Script essentially is giving me a counter to watch the rate of commits on a subversion repository: mheldebr@server:~$ /svn-hotcopy/svnyoungest 10386 I tried both exec (works on RHEL5 configured like this) and extend which both fail: Snippet of snmpd.conf file with exec style: exec 1.3.6.1.4.1.9.9.3 svncommits /bin/sh /svn-hotcopy/svnyoungest mheldebr@server:~$ snmpwalk -v 2c -c REDACTED localhost 1.3.6.1.4.1.9.3 SNMPv2-SMI::enterprises.9.3 = No Such Object available on this agent at this OID And configured as extend: extend 1.3.6.1.4.1.9.9.3 svncommits /svn-hotcopy/svnyoungest mheldebr@server:~$ snmpwalk -v 2c -c REDACTED localhost 1.3.6.1.4.1.9.3 SNMPv2-SMI::enterprises.9.3 = No Such Object available on this agent at this OID -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Hi, Could the people affected please explain what is not working? Using 'exec' is deprecated and should be replaced with 'extend'. Was this option tried and you still failed to see results? Also attaching some example configurations using the 'extend' feature would be helpful in pinpointing this issue. Thanks, Adam -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Changed to 'Confirmed'. Several users report that Lucid remains affected. ** Changed in: net-snmp (Ubuntu) Status: Fix Released = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Lucid is still affected with this issue. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
i agree - it seems exec still doesn't work in lucid. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/496922 Title: Ubuntu snmpd package doesn't include all net-snmpd modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/496922/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
I stil have the problem under Ubuntu Lucid 10.04.1 LTS and i still can not use the exec command in snmpd.conf file -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Can we get a fix backported to Hardy please? -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
This should be fixed for lucid, please re-open if it isnt. Regards chuck -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
** Changed in: net-snmp (Ubuntu) Status: Confirmed = Fix Released -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Thanks for the bug report Ill get this fixed for lucid. Regards chuck ** Changed in: net-snmp (Ubuntu) Importance: Undecided = Wishlist ** Changed in: net-snmp (Ubuntu) Status: New = Confirmed -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 496922] Re: Ubuntu snmpd package doesn't include all net-snmpd modules
Is there a reason why 'ucd_snmp' is not compiled into snmpd? -- Ubuntu snmpd package doesn't include all net-snmpd modules https://bugs.launchpad.net/bugs/496922 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs