Skip to main content

Deploying agent to Linux

  • June 18, 2012
  • 12 replies
  • 222 views

With version 8.5.05, I believe you can now deploy the new agent to linux servers. I tried to do this, but it failed with the following reason: "lshw not found" Am I doing something wrong?

12 replies

  • New SysMate
  • 3 replies
  • June 18, 2012
You must change these two lines in the sysaid-linux.sh file. In Centos/Fedora lshwExistance=`/usr/sbin/lshw -version` and OUTPUTlshw=`/usr/sbin/lshw -xml` Debian lshwExistance=`/usr/bin/lshw -version` OUTPUTlshw=`/usr/bin/lshw -xml` Of course, lshw has to be installed (done by default in Ubuntu). However, I am unable to make it work in Ubuntu 12.04.

Sarah Lahav - CEO
SysAider
Hello, In order to install our linux agent lshw should be installed on target asset. Thanks Sarah

  • Author
  • Active talker
  • 55 replies
  • July 2, 2012
Thanks Sarah. That got me further. But now, it just hangs on the install. It gets to trying to Deploy on "x.x.x.x" and that's it. It doesn't go any further. Are there other steps I can take to trouble shoot this?

  • Author
  • Active talker
  • 55 replies
  • July 19, 2012
Since I am not able to push out the new agent, are their directions on how to manually do this? thanks.

  • 0 replies
  • July 26, 2012
In order to manually install Agent on a linux, please follow these instructions: 1) Log into SysAid go to Preferences -> Downloads page, and click on the "Download SysAid Agent for Linux" link. 2) Run this command in terminal # tar -zxvf sysaid-linux.tar.gz 3) Go to sysaid-agent-linux folder, and then run the file called: sysaid-linux.sh (please run it as a root user, or with sudo command on ubuntu). # ./sysaid-linux.sh <URL> <Account ID> <Serial> 4) Please Make sure that lshw and wget package are installed first. This information is also available on this link: https://www.sysaid.com/linux-agent.htm

  • Community Enthusiast
  • 11 replies
  • August 30, 2012
HI, I have installed both Wget and lshw packeges on the target machine prior to deployment of agent through the network discovery service. I am getting the error like below. 6/12/12 3:00 PM end Deploy 6/12/12 3:00 PM For troubleshooting this issue, Please find information in the following https://www.sysaid.com/help-page.htm?helpPageId=8010 6/12/12 3:00 PM reason: "May be problem with post inventory on SysAidServer" 6/12/12 3:00 PM failed 6/12/12 2:58 PM trying to Deploy on "172.16.41.248" 6/12/12 2:58 PM - 1 - 6/12/12 2:58 PM Install non Windows Agents 6/12/12 2:57 PM --- count for deploy = 1 --- 6/12/12 2:57 PM Starting Deploy on IP From "172.16.41.248" to "172.16.41.248 6/12/12 2:57 PM Starting Deploy on 172.16.41.248-172.16.41.248 And 12/06/2012 15:10:25 172.16.41.248 UnixSame OS Login failed 12/06/2012 15:10:15 172.16.41.248 UnixSame OS Login failed Regards, Harasai

  • 1 reply
  • September 27, 2013
Shahar K.
In order to manually install Agent on a linux, please follow these instructions: 1) Log into SysAid go to Preferences -> Downloads page, and click on the "Download SysAid Agent for Linux" link. 2) Run this command in terminal # tar -zxvf sysaid-linux.tar.gz 3) Go to sysaid-agent-linux folder, and then run the file called: sysaid-linux.sh (please run it as a root user, or with sudo command on ubuntu). # ./sysaid-linux.sh <URL> <Account ID> <Serial> 4) Please Make sure that lshw and wget package are installed first. This information is also available on this link: https://www.sysaid.com/linux-agent.htm
Shahar, I know this is old but I need some help on this area. I did follow steps by steps as you described, but I do not see my linux server showing up in Asset Management/Asset List or Asset Groups. Any ideas? Your help will be greatly appreciated. Thanks, FSI2012

  • New SysMate
  • 7 replies
  • September 27, 2013
Ubuntu 14.04 cron explanation # m h dom mon dow user command - WWW - if portable laptop or workstation - cron = every hour. sudo mkdir /var/lib/sysaid/ ; sudo wget -v https://YOURSYSAIDSERVER:PORT/download/sysaid.tar.gz -O /tmp/sysaid.tar.gz --no-check-certificate && sudo tar -C /var/lib/sysaid/ -zxvf /tmp/sysaid.tar.gz ; sudo apt-get install wget lshw sudo mkdir /var/lib/sysaid/ ; sudo rm /var/lib/sysaid/agent.sh ; echo -e '#!/bin/sh\nsh /var/lib/sysaid/sysaid-linux.sh https://YOURSYSAIDSERVER:PORT ACCOUNTNAME SERIALKEY' | sudo tee /var/lib/sysaid/agent.sh ; sudo chmod +x /var/lib/sysaid/agent.sh sudo rm /etc/cron.d/sysaid ; echo -e "0 * * * * root /var/lib/sysaid/agent.sh" | sudo tee /etc/cron.d/sysaid - LAN - if local always online server or workstation - cron = every 5th minute. sudo apt-get install wget lshw # Deploy the agent using SysAid integrated Deployment tool, schedule a weekly deployment. sudo mkdir /var/lib/sysaid/ ; sudo rm /var/lib/sysaid/agent.sh ; echo -e '#!/bin/sh\nsh /var/lib/sysaid/sysaid-linux.sh https://YOURSYSAIDSERVER:PORT ACCOUNTNAME SERIALKEY' | sudo tee /var/lib/sysaid/agent.sh ; sudo chmod +x /var/lib/sysaid/agent.sh sudo rm /etc/cron.d/sysaid ; echo -e "*/5 * * * * root /var/lib/sysaid/agent.sh" | sudo tee /etc/cron.d/sysaid

Shawn Cheng
  • New SysMate
  • 6 replies
  • December 17, 2014
Hi, Team i followed previous step to execute sysaid agent, and it was fine and can show up on sysaid asset management. but when i use crontab job to run script, it didn't work at all i defined every five minutes will report to sysaid asset management. after crontab job, my sysaid asset management didn't get any update information. the syslog shows as below please help me to solve this problem!!

Shawn Cheng
  • New SysMate
  • 6 replies
  • December 18, 2014
Hi, all it turns out my asset licnese out of amount, so it won't be updated.

  • 2 replies
  • September 6, 2020
Hi, I am getting this error message during agent installation on Ubuntu Client. root@NOD-updateserver:/var/lib/sysaid-agent-linux# sh sysaid-linux.sh https://sysaid102367.sysaidit.com:443 sysaid102367 D480711B5DDE92D4 SysAid Agent for Linux version 20.1.70 Inventory information collecting completed. Sending the output to the server... HTTP/1.1 200 strict-transport-security: max-age=0 x-frame-options: SAMEORIGIN x-content-type-options: nosniff x-xss-protection: 1; mode=block cache-control: no-cache last-modified: Mon, 20 Apr 2020 11:26:32 GMT content-length: 3 date: Mon, 20 Apr 2020 11:26:34 GMT Done. root@NOD-updateserver:/var/lib/sysaid-agent-linux# Thanks, Anish Raut

  • 2 replies
  • September 6, 2020
Hi, Getting error during client installation. root@NOD-updateserver:/var/lib/sysaid-agent-linux# sh sysaid-linux.sh https://sysaid102367.sysaidit.com:443 sysaid102367 D480711B5DDE92D4 SysAid Agent for Linux version 20.1.70 Inventory information collecting completed. Sending the output to the server... HTTP/1.1 200 strict-transport-security: max-age=0 x-frame-options: SAMEORIGIN x-content-type-options: nosniff x-xss-protection: 1; mode=block cache-control: no-cache last-modified: Mon, 20 Apr 2020 11:26:32 GMT content-length: 3 date: Mon, 20 Apr 2020 11:26:34 GMT Done. root@NOD-updateserver:/var/lib/sysaid-agent-linux# Thanks, Anish