Systemd app not populating data (or graphs)

I seem to be having trouble getting data to populate in the systemd app. I have it enabled on my device. I’ve installed the agent and setup systemd as described in the documentation and I’ve verified firewall access to the machine I’m testing (using TCP 6556). I just see text saying “No Data file app-systemd-11-active.rrd” when I look at the systemd portion of the apps on

Confirmed connectivity from LibreNMS to my test machine
[librenms@ps-utl-p-nms01 logs]$ nc -vz test001 6556 Ncat: Version 7.92 ( Ncat - Netcat for the 21st Century ) Ncat: Connected to 10.125.62.13:6556. Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds.

  • Steps to reproduce an issue.
    • Web interface > device page (rocky linux device) > Apps > Systemd
  • The output of ./validate.php

===========================================

Component Version
LibreNMS 25.10.0-dev.13+b034b6bbc (2025-09-19T11:38:25-04:00)
DB Schema 2025_06_30_080844_add_ipv4_network_index_to_ipv4_addresses_table (354)
PHP 8.2.25
Python 3.6.8
Database MariaDB 10.3.39-MariaDB
RRDTool 1.7.0
SNMP 5.8
===========================================

[OK] Composer Version: 2.8.11
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

I’m

I don’t know if this is needed but I’ve included if it is.

Discovery:

Poller:

To me, going by this…

…it doesn’t look like the Systemd app can run via the UNIX Agent. It looks like it’s SNMP Extend only.

So looking at your logs, I see the following error in your SNMP extend…

Application: systemd, app_id=11SNMP[‘/usr/bin/snmpget’ ‘-v3’ ‘-l’ ‘authPriv’ ‘-n’ “” ‘-a’ ‘SHA’ ‘-A’ ‘PASSWORD’ ‘-u’ ‘USER’ ‘-x’ ‘AES’ ‘-X’ ‘PASSWORD’ ‘-Oqv’ ‘-m’ ‘NET-SNMP-EXTEND-MIB’ ‘-M’ ‘/opt/librenms/mibs’ ‘-t’ ‘5’ ‘udp:HOSTNAME:161’ ‘nsExtendOutputFull.7.115.121.115.116.101.109.100’]
/usr/bin/env: ‘python’: No such file or directory

So it looks like whatever user is running your snmpd service doesn’t have a path for the python binary in order to run the systemd app script.

Thank you so much, that lead me to the fix. The system (Rocky Linux 8) was using the executable python3 (symbolic link) and simply “python“ was expect. So I just made another symbolic link that pointed to the python3 symbolic link with ln -s /usr/bin/python3 /usr/bin/python

1 Like

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