Permission denied

I recently deploy on a CentOS 7 host following the instructions

# ll /etc/snmp/config.d/
-rwxr-xr-x. 1 root root 793 Jul 20 07:51 /etc/snmp/config.d/
# ps aux |grep -i snmp
root     22833  0.3  0.6 241908 23624 ?        Ss   08:00   0:01 /usr/sbin/snmpd -f

If I run the script manually as root, no issues. Please note that snmpd does runs as root

The LibreNMS debug console says:

. = STRING: /etc/snmp/config.d/ Permission denied
. = STRING: /etc/snmp/config.d/ Permission denied
. = INTEGER: 1
. = INTEGER: 1
. = STRING: /etc/snmp/config.d/ Permission denied

Any idea what to check?

I would guess selinux permissions

Bingo, thank you @Jellyfrog !

The script runs now but there are no graphs generated, I tried turning the app off/on, even tried deleting the server and re-adding to LibreNMS.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.