nagios core install | nagios core | nagios plugins | nagios ssh
those scripts will be used by the nagios agents, but also on the main server (which monitors itself).
apt install nagios-plugins nagios-plugins-contrib
sbopkg -r
we use /bin/bash instead of /sbin/nologin because we need a user shell for check_by_ssh
groupadd -g 213 nagios useradd -u 213 -g nagios -d /usr/libexec/nagios -s /bin/bash nagios sbopkg -i nagios-plugins
that one did not work so I went for my own
cd /usr/local/libexec/ wget https://pub.nethence.com/bin/backup/check_temp.ksh.txt mv check_temp.ksh.txt check_temp.ksh chmod +x check_temp.ksh
see nagios ssh
updatedb locate check_load # debian ... # slackware ls -lF /usr/libexec/nagios/check_load
su - nagios /usr/libexec/nagios/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 /usr/libexec/nagios/check_sensors /usr/local/libexec/check_temp.ksh
https://packages.debian.org/stable/net/nagios-plugins
https://packages.debian.org/source/nagios-plugins
https://packages.debian.org/bookworm/monitoring-plugins
https://slackbuilds.org/repository/15.0/system/nagios-plugins/
https://packages.debian.org/bookworm/monitoring-plugins
https://packages.debian.org/bookworm/monitoring-plugins-basic
https://packages.debian.org/bookworm/monitoring-plugins-standard
http://nagios-plugins.org/doc/man/check_sensors.html
https://exchange.nagios.org/directory/Plugins/System-Metrics/Environmental/check_sensors/details
https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_temp/details
https://github.com/jackbenny/check_temp/blob/master/check_temp.sh
https://exchange.nagios.org/directory/Plugins/System-Metrics/Environmental