Need to enable agent less monitoring on Centos 8 server but rsp probe is not able to discover the server
Note: This KB example is for Centos 7 , but similar could be applicable to other UNIX/linux disributions
Release : 9.2.0/20.x.x/@0.4.x
Component : UIM - RSP 5.50
sudo user admin created to use in rsp probe
Can see below errors in log
Jul 1 11:19:49:021 [8908] rsp: run_command_Others: - Command Timeout
Jul 1 11:19:49:021 [8908] rsp: run_command_Others: Received an error - 3. Raising Alarm
Jul 1 11:19:49:021 [8908] rsp: run_data_gathering: Failed to execute command /bin/uname -s -v -r -m
Jul 1 11:19:49:021 [8908] rsp: get_ostype: failed to find OS
Jul 1 11:19:49:021 [8908] rsp: thrDiscoverHost: xxxxx.xxx.xyz.com - connection timed out
Jul 1 11:19:49:021 [8908] rsp: Time taken in xxxxx.xxx.xyz.com=405
Jul 1 11:19:49:021 [8908] rsp: SREPLY: status = 0(OK) ->xx.xx.xx.xx:56064
Manual logging with same admin user on Centos server and the command works ok
Below changes done on /etc/sudoers file
usermod -aG wheel <username>
usermod -aG wheel admin
2.Move the % wheel line above the users as in below snapshot in /etc/sudoers file
%wheel ALL=(ALL) ALL
After these changes the target centos 8 server is able to be discovered and monitored by rsp probe successfully