Deploying agent to Linux

 
Author
Message
Super SysAider
74
 
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?

SysAider
4
 
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.

This message was edited 1 time. Last update was at Jun. 18, 2012 10:07 PM

SysAid CEO
616
 


Hello,

In order to install our linux agent lshw should be installed on target asset.

Thanks
Sarah
Super SysAider
74
 
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?
Super SysAider
74
 
Since I am not able to push out the new agent, are their directions on how to manually do this?
thanks.
SysAid Customer Success Manager
1
 
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
SysAider
36
 
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
SysAider
1
 
Shahar K. wrote: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
SysAider
9
 
Ubuntu 14.04

cron explanation # m h dom mon dow user command


- WWW - if portable laptop or workstation - cron = every hour.


- LAN - if local always online server or workstation - cron = every 5th minute.



This message was edited 2 times. Last update was at Jul. 08, 2014 09:34 AM

SysAider
8
 
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!!
SysAider
8
 
Hi, all

it turns out my asset licnese out of amount, so it won't be updated.
SysAider
2
 
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
SysAider
2
 
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