Hi all.
Just installed Icinga2 and got stuck at adding additional plugins
I need to see not just number of active users but who they are (their logins)
And I need to see list of services and their status (running, stopped e.t.c)
On Linux hosts, you can use check_by_ssh and call the who command.
This will not alert but provides a list of users. If you need more logic, a custom check plugin needs to be programmed - nice project for a beginner or AI
Analog you can use systemctl in place of who.
I can also recommend you the @linuxfabrik’s about-me from their monitoring-plugins collection.
Right now I want to add The Linuxfabrik Monitoring Plugins Collection and stopped on creating JSON file. I installed Linuxfabrik Icinga Director fork, Saved basket-join script from github, but cant upload basket-join (yeah..I’m not smart guy)
This needs to be fixed first as the director is managing the objects to be monitored but for this the all icinga2 master, satellite (optional) and agent endpoints need to be connected.
How are you configuring the settings under /etc/icinga2/?