Hi All,
Firstly thanks for the help that you all had given to get it working on the Linux boxes, but now, we seem to have run into another roadblock, it works perfectly while using the same creds on the Linux boxes, but unfortunately it is failing when it comes
to the UNIX boxes. It is able to install and monitor fine on the Unix boxes when using the root account, however when we try to use the scom account, it keeps teliing us that "The agent responded to the request but the WSMan connection failed due to:
Access is Denied."
Could you let us know what more should be done, I have also enabled logging on the account, and do see that there is a connection from the SCOM server to the UNIX server, however the access is not given as the creds are read as being invalid.
The following is the code from the sudoers file:
scomuxaa ALL=(root) NOPASSWD: /bin/sh -c cp /tmp/scx-*/scx.pem /etc/opt/microsoft/scx/ssl/scx.pem; rm -rf /tmp/scx-*; /opt/microsoft/scx/bin/too
ls/scxadmin -restart, \
#/bin/sh -c sh /tmp/scx-*/GetOSVersion.sh; EC=$?; rm -rf /tmp/scx-*;
exit $EC, \
#/bin/sh -c cat /etc/opt/microsoft/scx/ssl/scx.pem,
\
#/bin/sh -c rpm -e scx, \
#/bin/sh -c /usr/sbin/swremove scx, \
#/bin/sh -c echo *, \
#/bin/sh -c /bin/rpm -F --force /tmp/scx-*/scx-1.[0-9].[0-9]-[0-9][0-9][0-9].rhel.[0-9].x[6-8][4-6].rpm;
EC=$?; cd /
tmp; rm -rf /tmp/scx-*; exit $EC, \
#/bin/sh -c /bin/rpm -U --force /tmp/scx-*/scx-1.[0-9].[0-9]-[0-9][0-9][0-9].rhel.[0-9].x[6-8][4-6].rpm;
EC=$?; cd /
tmp; rm -rf /tmp/scx-*; exit $EC, \
#/opt/microsoft/scx/bin/scxlogfilereader -p, \
#/usr/bin/uncompress -f /tmp/scx-scomuxaa/scx-*; /usr/sbin/swinstall
-s /tmp/scx-scomuxaa/scx-* scx; EC=$?; cd /tmp;
rm -rf /tmp/scx-scomuxaa; exit $EC
scomuxaa ALL=(ALL) NOPASSWD: ALL, !/usr/bin/su -
Defaults:scomuxaa !requiretty
-
Edited by
Giftson Paul B.T
Tuesday, April 28, 2015 3:01 PM