From: Kenneth W. <hap...@gm...> - 2009-10-26 21:14:33
|
Anyone out there using etch and nventory together? Which versions are you using? I seem to be having some issues getting the nodegrouper and nodetagger scripts working between Etch version 3.8 and nVentory 0.83. Alternativly if anyone has any input into fixing the error below that would be just as helpful, and appreciated too: [root@domU-12-31-39-06-BA-33 nventory]# /usr/bin/etch/etchserver-samples/nventory/nodegrouper localhost /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16:in `get_objects': wrong number of arguments (4 for 5) (ArgumentError) from /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16 I included the nventory file from client/ruby directory of the 0.83 version in the nodegrouper and nodetagger scripts. Thanks! -- Kenneth Williams No man's life, liberty, or property are safe while the legislature is in session. - Mark Twain |
From: Jason H. <jh...@ap...> - 2009-10-26 21:55:20
Attachments:
smime.p7s
|
Sorry, my bad, I forgot to update the sample scripts to reflect the change in the nVentory API. Fix committed to svn. You can grab the updated scripts here: http://etch.svn.sourceforge.net/viewvc/etch/trunk/etchserver-samples/nventory/ I'm working on some enhancements and bug fixes to the features that were added in the 3.8 release (config commands and REXML support), hopefully I'll get a new release out this week and it will include this fix as well. Jason On Oct 26, 2009, at 2:14 PM, Kenneth Williams wrote: > Anyone out there using etch and nventory together? Which versions > are you using? > > I seem to be having some issues getting the nodegrouper and > nodetagger scripts working between Etch version 3.8 and nVentory > 0.83. Alternativly if anyone has any input into fixing the error > below that would be just as helpful, and appreciated too: > > [root@domU-12-31-39-06-BA-33 nventory]# /usr/bin/etch/etchserver- > samples/nventory/nodegrouper localhost > /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16:in > `get_objects': wrong number of arguments (4 for 5) (ArgumentError) > from /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16 > > I included the nventory file from client/ruby directory of the 0.83 > version in the nodegrouper and nodetagger scripts. > > Thanks! > > -- > Kenneth Williams > No man's life, liberty, or property are safe while the legislature > is in session. - Mark Twain > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference_______________________________________________ > etch-users mailing list > etc...@li... > https://lists.sourceforge.net/lists/listinfo/etch-users |
From: Kenneth W. <hap...@gm...> - 2009-10-27 06:22:07
|
Jason, Awesome. That fixed that issue. Thanks! I'm seeing another error "getaddrinfo: Name or service not known (SocketError)" from http.rb, but I believe those are specific to the EC2 setup I'm running. The trouble shooting continues ;) Thanks again! On Mon, Oct 26, 2009 at 2:54 PM, Jason Heiss <jh...@ap...> wrote: > Sorry, my bad, I forgot to update the sample scripts to reflect the change > in the nVentory API. > > Fix committed to svn. You can grab the updated scripts here: > > > http://etch.svn.sourceforge.net/viewvc/etch/trunk/etchserver-samples/nventory/ > > I'm working on some enhancements and bug fixes to the features that were > added in the 3.8 release (config commands and REXML support), hopefully I'll > get a new release out this week and it will include this fix as well. > > Jason > > > On Oct 26, 2009, at 2:14 PM, Kenneth Williams wrote: > > Anyone out there using etch and nventory together? Which versions are you >> using? >> >> I seem to be having some issues getting the nodegrouper and nodetagger >> scripts working between Etch version 3.8 and nVentory 0.83. Alternativly if >> anyone has any input into fixing the error below that would be just as >> helpful, and appreciated too: >> >> [root@domU-12-31-39-06-BA-33 nventory]# >> /usr/bin/etch/etchserver-samples/nventory/nodegrouper localhost >> /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16:in `get_objects': >> wrong number of arguments (4 for 5) (ArgumentError) >> from /usr/bin/etch/etchserver-samples/nventory/nodegrouper:16 >> >> I included the nventory file from client/ruby directory of the 0.83 >> version in the nodegrouper and nodetagger scripts. >> >> Thanks! >> >> -- >> Kenneth Williams >> No man's life, liberty, or property are safe while the legislature is in >> session. - Mark Twain >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> >> http://p.sf.net/sfu/devconference_______________________________________________ >> etch-users mailing list >> etc...@li... >> https://lists.sourceforge.net/lists/listinfo/etch-users >> > > -- Kenneth Williams No man's life, liberty, or property are safe while the legislature is in session. - Mark Twain |
From: Jason H. <jh...@ap...> - 2009-10-27 17:21:25
Attachments:
smime.p7s
|
On Oct 26, 2009, at 11:22 PM, Kenneth Williams wrote: > Jason, > Awesome. That fixed that issue. Thanks! > > I'm seeing another error "getaddrinfo: Name or service not known > (SocketError)" from http.rb, but I believe those are specific to the > EC2 setup I'm running. The trouble shooting continues ;) Thanks again! > That sounds like the nventory library is failing to look up the hostname for the nventory server. I think the library uses 'http://nventory/' by default. Jason |
From: Kenneth W. <hap...@gm...> - 2009-10-27 19:24:23
|
Thanks Jason! That got me on the right track to fixing it. I'm not sure if this is the best way to fix it, but in case anyone else has this issue on EC2... I changed line 65 in nventory.rb on my Etch host from @server = 'http://nventory/' to @server = 'http:// ec2-X-X-X-X.compute-N.amazonaws.com/', replace with your instance's dns entry. On Tue, Oct 27, 2009 at 10:21 AM, Jason Heiss <jh...@ap...> wrote: > > On Oct 26, 2009, at 11:22 PM, Kenneth Williams wrote: > > Jason, >> Awesome. That fixed that issue. Thanks! >> >> I'm seeing another error "getaddrinfo: Name or service not known >> (SocketError)" from http.rb, but I believe those are specific to the EC2 >> setup I'm running. The trouble shooting continues ;) Thanks again! >> >> > That sounds like the nventory library is failing to look up the hostname > for the nventory server. I think the library uses 'http://nventory/' by > default. > > Jason > > -- Kenneth Williams No man's life, liberty, or property are safe while the legislature is in session. - Mark Twain |