Applications Systems
SCM “Server configuration polling failed on node” for Linux Essentials and Linux Security and Permissions profiles
SCM displays “Server configuration polling failed on node 'xxxx'” for Linux nodes using the Linux Essentials and Linux Security and Permissions profiles, with element errors such as “Access denied” and “File is inaccessible” on /etc. This article explains that the cause is insufficient permissions or missing sudo rights for the SolarWinds agent / Linux credential, and shows how to fix it by assigning a Linux credential with sudo or granting controlled sudo access so SCM can successfully poll those root‑owned directories.
First published date
Last published date
Overview
This behavior is specifically observed with Linux SCM out‑of‑the‑box profiles (Linux Essentials, Linux Security and Permissions) on Linux nodes monitored via the SolarWinds Agent when the effective SCM user lacks sufficient permissions to the monitored paths.
Exact error message in SCM: Server configuration polling failed on node 'xxxx'.
-
Customer symptoms:
-
Affects Linux nodes monitored with the out-of-the-box Linux Essentials and Linux Security and Permissions SCM profiles.
-
In the node’s Server Configuration Monitor → Configuration Details, individual elements under
/etcshow errors such asAccess deniedandFile is inaccessiblefor root-owned files.
-
-
What this article explains (How-to / Problem–Resolution):
-
Why this generic SCM polling failure appears when the underlying issue is Linux file/permission access for the agent or Linux credential.
-
How to confirm the problem from the customer’s perspective in the web console and via the SCM
PolledElementErrorsSWQL query. -
How to resolve it by either assigning a Linux credential with appropriate sudo rights or granting controlled sudo access to the agent user so SCM can successfully read and diff the monitored paths under
/etc.
-
Product section
Cause
-
Linux agent deployed with default parameters only
-
Agent (
swiagent) installed without Include Credentials with Elevated Privileges (sudo/su). -
swiagentruns non‑interactively and cannot read protected/etcfiles by default.
-
-
No suitable Linux credential with sudo assigned in SCM
-
Linux Essentials / Linux Security and Permissions profiles are assigned without a Linux credential that has:
-
Permission (via group/ACL or sudo) to read the monitored paths under
/etc. -
Non‑interactive
sudorights (no TTY,NOPASSWDfor required commands/paths).
-
-
As a result, SCM can connect to the node, but the profile elements targeting root‑owned paths fail with Access denied/File is inaccessible, which is then rolled up into the generic “Server configuration polling failed on node” event.
Resolution
There are two supported approaches; use Option 1 where possible.
Option 1 – Use a Linux account with sudo and let SCM impersonate it (recommended)
-
Create/identify a Linux account with:
-
Read access (or sudo‑based read access) to the required
/etcfiles and directories monitored by:-
Linux Essentials
-
Linux Security and Permissions
-
-
Ability to use
sudowithout interactive prompts for those paths/commands: -
Typical sudoers settings:
-
NOPASSWDfor required commands. -
No TTY requirement for those commands.
-
-
-
Configure a Linux credential in SolarWinds SCM:
-
In the SolarWinds Platform Web Console, create a Linux credential using this account (username + password or key, as appropriate).
-
Ensure this credential is allowed to run
sudoas needed.
-
-
Assign the Linux credential to the SCM profiles:
-
Edit the Linux Essentials and Linux Security and Permissions profiles or their assigned elements and:
-
Set the Linux credential you created.
-
-
Save and re‑poll.
-
-
Validate:
-
On a test node, open Server Configuration Monitor → Configuration Details:
-
Check that the previously failing elements under
/etcnow show as Polled successfully.
-
-
Confirm the “Server configuration polling failed on node 'xxxx'” event clears after a few polling cycles.
-
Option 2 – Grant controlled sudo rights to the agent user (advanced)
Use this option only if you must keep SCM running under the agent account (
swiagent) and cannot use a separate Linux credential.
-
Identify the agent user:
-
Typically
swiagent(created during agent installation).
-
-
Define a restricted command set in sudoers:
-
On one representative Linux node, run
visudoand add entries similar to:
Cmnd_Alias SCMCMDS = /opt/SolarWinds/scm/* swiagent ALL=(root) NOPASSWD: SCMCMDS-
This pattern:
-
Limits
swiagentto running only scripts under/opt/SolarWinds/scm/as root. -
Allows those commands to run without a password prompt.
-
-
-
Create SCM wrapper scripts (if needed):
-
Place wrapper scripts under
/opt/SolarWinds/scm/which:-
Read the required
/etcfiles or perform necessary checks. -
Output data in a form SCM can diff.
-
-
Configure the relevant SCM elements (for example, those monitoring
/etc/fstabor other protected files) to call:-
sudo /opt/SolarWinds/scm/your_script.sh
-
-
-
Test on one node:
-
Re‑poll the node.
-
Confirm in SCM that the affected Linux Essentials / Linux Security and Permissions elements now succeed and show proper diffs.
-
-
Roll out:
-
Once validated, apply the same sudoers configuration (and scripts) to other Linux nodes monitored by SCM.
-