athreyavc wrote: > Hi Sir, > > Thanks again for the reply, I really don't have words to appreciate such a > detailed explanation. > > Please find the 12 lines below , > > 1 #!/usr/bin/perl > 2 use JSON::XS; > 3 use strict; > 4 my $server="192.168.131.89"; > 5 my $port="8080"; > 6 my $user="admin"; > 7 my $password="1q2w3e4r"; > 8 my %devices; > 9 my $wget="/usr/bin/wget"; > 10 my $wget_type=1 # 1 - older wget, 2 - later version > There is missing ; at previous line. You deleted ; symbol. It should be:
my $wget_type=1; > 11 my $node; > 12 my $url; > > > Also my wget version is , > > Also, my wget version > > I don't know which wget version you should choose. Try both and see which works for you. > [r...@centos weathermap]# wget -V > GNU Wget 1.10.2 (Red Hat modified) > > Copyright (C) 2005 Free Software Foundation, Inc. > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU General Public License for more details. > > Originally written by Hrvoje Niksic <[email protected]>. > [r...@centos weathermap]# > > > I am using centOS 5 . > > Best Regards, > > Athreya > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=38580#38580 > > -------------------- m2f -------------------- > > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users > _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
