jamesoff / simplemonitor

A Python-based network and host monitor
https://simplemonitor.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
408 stars 166 forks source link

Cannot make it running #380

Closed liqinsg closed 4 years ago

liqinsg commented 4 years ago

Cannot make it running 1, pip install -r requirements.txt 2, python monitor.py get error no monitor.ini 3, after copy the file from test/ then python monitory -t still having issue

2019-12-11 04:22:55    ERROR (simplemonitor) Unknown monitor type nc; valid types are: diskspace, filestat, tcp, pkgaudit, fail, null, systemd-unit, zap, service, loadavg, dns, rc, http, portaudit, host, compound, eximqueue, svc, dhcpscope, hass_sensor, apcupsd, command, backup
2019-12-11 04:22:55  WARNING (simplemonitor) Config test complete. Exiting.
jamesoff commented 4 years ago

Can you share your monitor.ini and monitors.ini? The nc type is an alerter, not a monitor, and you need to be on macOS to use it.