● mongodb_exporter.service - MongoDB Exporter
Loaded: loaded (/usr/lib/systemd/system/mongodb_exporter.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2024-10-16 00:12:05 EDT; 4h 35min ago
Main PID: 504048 (mongodb_exporte)
Tasks: 11 (limit: 100315)
Memory: 15.0M
CGroup: /system.slice/mongodb_exporter.service
└─504048 /usr/local/bin/mongodb_exporter
Oct 16 04:46:18 mongodb_exporter[504048]: time="2024-10-16T04:46:18-04:00" level=error msg="Cannot connect to server using url mongodb://local>
Oct 16 04:46:181 mongodb_exporter[504048]: time="2024-10-16T04:46:18-04:00" level=error msg="Can't create mongo session to mongodb://localhost:>
Hi, as far as I see you are not providing additional flags to your service, please add --mongodb.uri and enable some collectors in your systemd service configuration.
● mongodb_exporter.service - MongoDB Exporter Loaded: loaded (/usr/lib/systemd/system/mongodb_exporter.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2024-10-16 00:12:05 EDT; 4h 35min ago Main PID: 504048 (mongodb_exporte) Tasks: 11 (limit: 100315) Memory: 15.0M CGroup: /system.slice/mongodb_exporter.service └─504048 /usr/local/bin/mongodb_exporter
Oct 16 04:46:18 mongodb_exporter[504048]: time="2024-10-16T04:46:18-04:00" level=error msg="Cannot connect to server using url mongodb://local> Oct 16 04:46:181 mongodb_exporter[504048]: time="2024-10-16T04:46:18-04:00" level=error msg="Can't create mongo session to mongodb://localhost:>