I have added File status test for monitoring and on the test configuration page it ask me for Sudo path. How do i do it.
Best Answer
e
eG Helpdesk
said
over 7 years ago
On the Linux server, you can run the command "whereissudo" and it gives you the path of the sudo. Usually, it would be available under urs/sbin or urs/bin/sbin. Provide the path on the eG test configuration>File status test.
Apart from that, you have to make sure the eguser should have permission to run the sudo command on that server. For that, you have to go to the file /etc/sudoers
. In that file, under the session "# Allow members of group sudo to execute any command ", you can leave the default ALL=(ALL:ALL) ALL or else you can mention the specific username to have permission to execute sudo command.
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
1 person has this question
1 Comment
eG Helpdesk
said
over 7 years ago
Answer
On the Linux server, you can run the command "whereissudo" and it gives you the path of the sudo. Usually, it would be available under urs/sbin or urs/bin/sbin. Provide the path on the eG test configuration>File status test.
Apart from that, you have to make sure the eguser should have permission to run the sudo command on that server. For that, you have to go to the file /etc/sudoers
. In that file, under the session "# Allow members of group sudo to execute any command ", you can leave the default ALL=(ALL:ALL) ALL or else you can mention the specific username to have permission to execute sudo command.
# Allow members of group sudo to execute any command
Ajey Chaudhary
I have added File status test for monitoring and on the test configuration page it ask me for Sudo path. How do i do it.
On the Linux server, you can run the command "whereissudo" and it gives you the path of the sudo. Usually, it would be available under urs/sbin or urs/bin/sbin. Provide the path on the eG test configuration>File status test.
Apart from that, you have to make sure the eguser should have permission to run the sudo command on that server. For that, you have to go to the file /etc/sudoers . In that file, under the session "# Allow members of group sudo to execute any command ", you can leave the default ALL=(ALL:ALL) ALL or else you can mention the specific username to have permission to execute sudo command.
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
1 person has this question
eG Helpdesk
On the Linux server, you can run the command "whereissudo" and it gives you the path of the sudo. Usually, it would be available under urs/sbin or urs/bin/sbin. Provide the path on the eG test configuration>File status test.
Apart from that, you have to make sure the eguser should have permission to run the sudo command on that server. For that, you have to go to the file /etc/sudoers . In that file, under the session "# Allow members of group sudo to execute any command ", you can leave the default ALL=(ALL:ALL) ALL or else you can mention the specific username to have permission to execute sudo command.
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
-
Finding eG Agent version
-
Delete and Acknowledge alarms
-
Updating nick names
-
Changing IP address of a monitored component
-
Changing IP address of remote agent and external agent
-
Inside view metrics are not collected by eG
-
Error 1067
-
Agent stopped running
-
eG agent auto-startup
-
Remote agent connection issue
See all 77 topics