Nagios LDAP Monitoring (works for icinga as well) Rumi, June 20, 2012June 20, 2012 on commands.cfg file define command { command_name check_ldaps command_line $USER1$/check_ldap.pl -H 192.168.0.123 -p 389 } on your <server.cfg> file- define service{ use generic-service ; template name, available by default host_name LDAP ; unique name of the host being defined service_description LDAP Daemon ; description of the host check_command check_ldaps } But this plugin requires Perl Net::LDAP modules installed. For installation of Net::LDAP perl CPAN module, you read this post Download the check_ldap.pl from here. Related Administrations Configurations (Linux) icingaLDAPNagios
Delete files older than 10 days using shell command October 28, 2023 find is the common tool for this kind of task : find ./my_dir -mtime +10 -type f -delete EXPLANATIONS ./my_dir your directory (replace with your own) -mtime +10 older than 10 days -type f only files -delete no surprise. Remove it to test your find filter before executing the whole command Src: https://stackoverflow.com/questions/13489398/delete-files-older-than-10-days-using-shell-script-in-unix Related Read More
Installing Plex on Debian 12 March 3, 2024 Prerequisites A machine running Debian 12 with GUI mode A user account with sudo privileges Internet access for downloading packages Step 1: Update Your System Before installing any new software, it’s always a good practice to update your system’s package index. Open a terminal and execute the following command: sudo… Read More
Mapping drives with Windows Explorer in Nextcloud November 26, 2021November 26, 2021 To map a drive using the Microsoft Windows Explorer: Open Windows Explorer on your MS Windows computer. Right-click on Computer entry and select Map network drive… from the drop-down menu. Choose a local network drive to which you want to map Nextcloud. Specify the address to your Nextcloud instance, followed… Read More