Monitor Windows Service using Nagios (Icinga) Rumi, December 8, 2011 On the Nagios Server edit the file /usr/local/nagios/etc/objects/windows.cfg: # vi /usr/local/nagios/etc/objects/windows.cfg Add the following to create a new service definition to monitor the process state of WinVNC.exe (VNC Server): # Create a service for monitoring the WinVNC.exe process # Change the host_name to match the name of the host you defined above define service{ use generic-service hostgroup_name windows-servers service_description VNC check_command check_nt!PROCSTATE!-d SHOWALL -l WinVNC.exe } Add the following to create a new service definition to monitor the Service state of the Print Spooler service: define service{ use generic-service hostgroup_name windows-servers service_description eTrust ITM Web Access Service check_command check_nt!SERVICESTATE!-d SHOWALL -l "Print Spooler" } To monitor a Service other then the Print Spooler, substitute Print Spooler with how the Name of the service appears in the Services window Name column Related Administrations Configurations (Linux) icingaNagios
Set DNS server address temporarily February 24, 2020 Write it into /etc/resolv.conf: echo “nameserver 1.2.3.4″ | sudo tee /etc/resolv.conf Upon successful DHCP connection, it should be overwritten back to the “correct” DNS server. Related Read More
Phpvirtualbox fix on 5.1 using 5.0 October 12, 2017October 12, 2017 I was able to get v5.0-5 working with vbox 5.1 by commenting out the version check line and replacing it with a static value in the endpoints/api.php file: // $response[‘data’][‘responseData’][‘phpvboxver’] = @constant(‘PHPVBOX_VER’); $response[‘data’][‘responseData’][‘phpvboxver’] = “5.1-0”; Src: https://sourceforge.net/p/phpvirtualbox/discussion/general/thread/565b7f31/ Related Read More
DNS Slave Auto-Configuration Quickstart September 23, 2008 Virtualmin can automatically manage any number of DNS slave servers for you. Once configured, it will create slave zones on other servers and configure them to automatically update when changes are made on your Virtualmin server. For this to work, you need Virtualmin on your primary server and Webmin… Read More