The situation: In every larger environment when you debug or you would like to update something, good if you disable automatic changes (configuration management tool(s)). Now I will explain one solution, how can you disable all puppet-agent on (affected) hosts. Script usage: script to disable puppet agent on described hosts. […]
Script – linux
Script to solve / automatize problems & tasks. (Linux realted)
SNMP nagios check ? Check opened-files number of monitored process
Situation: One of the process exceed soft / hard process limit on OS (CentOS 6.6; CentOS 6.7). Because high availability is required in this environment, I wrote a nagios-check script in SNMP-base. With this check nagios can verify process’s limit & the actual number of opened files by it. It […]
Control Nagios from bash / script (example script /GitHub/ added!)
The situation: You have a million host on your nagios monitoring-system. You know that you must to disable 2/3/5/x service-check on all host, as the used method of check was corrupted / the monitoring-script failed / SELinux fix was not implemented until now….. One, common way that you login to […]