Download static archive from http://www.netxms.org/download/

/opt/netxms/bin/nxagentd

/etc/nxagentd.conf
MasterServers have full access to the node! Servers read-only
Encryption se to AES128 only (for performance)

nxagentd.conf
MasterServers = IPs
Servers = IPs
LogFile = /dev/null
FileStore = /tmp
EnabledCiphers = 16
ExternalParameterShellExec=CEPH_Health:/opt/netxms/bin/ceph-status.sh
ceph-status.sh
#!/bin/bash
 
status=$(ceph status|grep health)
if [[ $status == *"HEALTH_WARN"* ]]; then echo "WARNING"
fi
if [[ $status == *"HEALTH_ERR"* ]]; then echo "ERROR"
fi
if [[ $status == *"HEALTH_OK"* ]]; then echo "OK"
fi

/etc/rc.local

/opt/netxms/bin/nxagentd -d -u nobody -g nogroup