Graphs shows no data (nan) or empty graphs - Observium
Graphs shows no data - Observium
Probably cron does not work.
Manual recommends using these:
33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1
*/15 * * * * root /opt/observium/discovery.php -h new >> /dev/null 2>&1
*/15 * * * * root /opt/observium/poller-wrapper.py 2 >> /dev/null 2>&1
it will not work when edited using crontab -e
Create new file in /etc/cron.d/observium
and paste there.
If still does not work try this:
33 */6 * * * root cd /opt/observium/ && ./discovery.php -h all >> /dev/null 2>&1
*/15 * * * * root cd /opt/observium/ && ./discovery.php -h new >> /dev/null 2>&1
*/15 * * * * root cd /opt/observium/ && ./poller.php -h all >> /dev/null 2>&1
If still does not work, try to add above cron entries into
/etc/crontab
and restart cron service.
For the rrdtool, it's looking for a smaller rate than 15 minutes. That will cause an issue with data showing up on the graph. It MUST be every 5 minutes according to Adam Armstrong.
ReplyDelete