Re: HOST-RESOURCE::hrSWInstalledTable
Le vendredi 05 février 2010 à 11:15 +, Dave Shield a écrit : > On 5 February 2010 00:00, Raphael SurcouF Bordet wrote: > > As I known, default support of host/hrswinstalled in Net-SNMP has been > > designed for RPM only. > > Where did you get that impression? > The hrSWInstalledTable includes support for RPM (Linux), pkginfo (Solaris), > depots (HP-UX) and software packages (FreeBSD) >The newer re-write in 5.5 also includes support for Mac OS X > > It has never been RPM-only. You should've right. There is a long time I haven't test other support. Regards, -- Raphaël 'SurcouF' Bordet -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: HOST-RESOURCE::hrSWInstalledTable
On 5 February 2010 00:00, Raphael SurcouF Bordet wrote: > As I known, default support of host/hrswinstalled in Net-SNMP has been > designed for RPM only. Where did you get that impression? The hrSWInstalledTable includes support for RPM (Linux), pkginfo (Solaris), depots (HP-UX) and software packages (FreeBSD) The newer re-write in 5.5 also includes support for Mac OS X It has never been RPM-only. Dave -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: HOST-RESOURCE::hrSWInstalledTable
Hi, You can also wrote an AgentX subagent to implement this table as hrswinstalled Perl script does for Debian/Ubuntu : http://community.zenoss.org/blogs/zenossblog/2009/02/18/tip-of-the-month-snmp-software-inventory-for-debian-and-ubuntu-machines http://community.zenoss.org/docs/DOC-3582 As I known, default support of host/hrswinstalled in Net-SNMP has been designed for RPM only. Regards, Le vendredi 29 janvier 2010 à 10:41 +0530, Vivek Singh Bhadauria a écrit : > Thanks Mike. > > My system shows these two host/hr_swrun, host/hr_swinst on executing > the command shared by you. > > I think this is the issue with the Linux Gentoo system which has > emerge not the RPM. > > I am getting the hrSWInstalledTable from other systems like Windows > and red hat. > > Also, From my gentoo system I am getting values from Host-resource > tables except for hrSWInstalledTable. > > Thanks Mike for ur support. > > --- On Fri, 29/1/10, Mike Ayers wrote: > > From: Mike Ayers > Subject: RE: HOST-RESOURCE::hrSWInstalledTable > To: "Vivek Singh Bhadauria" , > net-snmp-users@lists.sourceforge.net > Date: Friday, 29 January, 2010, 1:10 AM > > > From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > > Sent: Wednesday, January 27, 2010 10:58 PM > > > I want to get the list of installed software but > hrSWInstalledTable is > > empty when I run snmpwalk command. > > > > My question is: Who will fill the hrSWInstalledTable? > > Its me or already implemented by the Net-SNMP. > > There is an existing implementation, but it's optional. > to find out if you have it, run this command on the system > that hosts the master agent (the net-snmp-config command must > be from the same build as the master agent): > > $ net-snmp-config --snmpd-module-list | tr [:blank:] '\n' | > grep host/hr_sw > > If not, you'll need to rebuild with > --with-mib-modules="host/hr_swinst, host/hr_swrun" (or just > -with-mib-modules="host") to get the functionality. > > If you do have the modules, check your access control. > > > HTH, > > Mike > > > > > __ > Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!. > -- > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ___ Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net Please see the following page to > unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: HOST-RESOURCE::hrSWInstalledTable
> From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > Sent: Thursday, January 28, 2010 9:11 PM > My system shows these two host/hr_swrun, host/hr_swinst on executing > the command shared by you. > > I think this is the issue with the Linux Gentoo system which has emerge > not the RPM. > > I am getting the hrSWInstalledTable from other systems like Windows and > red hat. > > Also, From my gentoo system I am getting values from Host-resource > tables except for hrSWInstalledTable. 1) Check your access control. 2) Check the log for errors. If these tables are built but not linking, the error messages should tell you which libraries you need, from which you can determine what needs to be emerged. HTH, Mike -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: HOST-RESOURCE::hrSWInstalledTable
Thanks Mike. My system shows these two host/hr_swrun, host/hr_swinst on executing the command shared by you. I think this is the issue with the Linux Gentoo system which has emerge not the RPM. I am getting the hrSWInstalledTable from other systems like Windows and red hat. Also, From my gentoo system I am getting values from Host-resource tables except for hrSWInstalledTable. Thanks Mike for ur support. --- On Fri, 29/1/10, Mike Ayers wrote: From: Mike Ayers Subject: RE: HOST-RESOURCE::hrSWInstalledTable To: "Vivek Singh Bhadauria" , net-snmp-users@lists.sourceforge.net Date: Friday, 29 January, 2010, 1:10 AM > From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > Sent: Wednesday, January 27, 2010 10:58 PM > I want to get the list of installed software but hrSWInstalledTable is > empty when I run snmpwalk command. > > My question is: Who will fill the hrSWInstalledTable? > Its me or already implemented by the Net-SNMP. There is an existing implementation, but it's optional. to find out if you have it, run this command on the system that hosts the master agent (the net-snmp-config command must be from the same build as the master agent): $ net-snmp-config --snmpd-module-list | tr [:blank:] '\n' | grep host/hr_sw If not, you'll need to rebuild with --with-mib-modules="host/hr_swinst, host/hr_swrun" (or just -with-mib-modules="host") to get the functionality. If you do have the modules, check your access control. HTH, Mike Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/-- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: HOST-RESOURCE::hrSWInstalledTable
> From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > Sent: Wednesday, January 27, 2010 10:58 PM > I want to get the list of installed software but hrSWInstalledTable is > empty when I run snmpwalk command. > > My question is: Who will fill the hrSWInstalledTable? > Its me or already implemented by the Net-SNMP. There is an existing implementation, but it's optional. to find out if you have it, run this command on the system that hosts the master agent (the net-snmp-config command must be from the same build as the master agent): $ net-snmp-config --snmpd-module-list | tr [:blank:] '\n' | grep host/hr_sw If not, you'll need to rebuild with --with-mib-modules="host/hr_swinst, host/hr_swrun" (or just -with-mib-modules="host") to get the functionality. If you do have the modules, check your access control. HTH, Mike -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users