Professional Documents
Culture Documents
RedHat Solarwind Agent
RedHat Solarwind Agent
Distribution:
Red Hat Enterprise Linux 5.11, 6.x, 7.x, 8.x x64
Command:
if [ "`id -u`" = "0" ]; then ESH='sh'; export SWR=''; else ESH='su'; export
SWR='switch to root and '; echo "You will be prompted for root password."; fi; $
{ESH} -c 'D=rhel-5;P=/Orion/AgentManagement/LinuxPackageRepository.ashx?
path=;U="https://nms-sw https://BHDCSWPROOR01:443 https://bhdcswproor01
https://172.26.42.21";L=/etc/yum.repos.d;M=${L}/swiagent-${D}.mirrors;mkdir -p $
{L};for u in ${U};do echo "${u}${P}/dists/${D}/\$basearch";done>$M;printf
"[swiagent]\nname=SolarWinds Agent\nmirrorlist=file://%s\nenabled=1\ngpgcheck=0\n"
$M>${L}/swiagent-${D}.repo; echo "Repository for SolarWinds agent was added. To
install agent ${SWR}use following commands:"; echo " yum clean all && yum install
swiagent"'
===================================================================================
=========================
To install the agent software, open a shell prompt on the Unix/Linux machine and
enter the following command:
Command: