Category Archives: My Linux

nagios checkup

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Install and Start Service Once the above ini file is to your liking, install and start the NSClient++ service. To install: NSClient++ /install NSClient++ SystemTray install NSClient++ /start Make sure the port is listening. From the nagios … Continue reading

Posted in nagios | Comments Off on nagios checkup

Check outlook web access from NAGIOS

Check Microsoft’s Exchange 200x OWA (Outlook Web Access) service (e.g. https://mail.domain.com/exchange) to make sure that it is running properly. [edit] localhost.cfg #taken from CentOS 4 define service{ use local-service host_name mail.yourdomain.com service_description OWA_https_check check_command check_http! –ssl -u /exchange } [edit] … Continue reading

Posted in nagios | Comments Off on Check outlook web access from NAGIOS

Add D Driver or more

add a new service with name “D:\ Drive Space” and pass the D drive to the -l parameter of check_nt command as shown below. So, the check_command should be check_nt!USEDDISKSPACE! -l {drive-letter-to-be-monitored} -w 80 -c 90 define service{ use generic-service … Continue reading

Posted in nagios | Comments Off on Add D Driver or more

change password for nagios

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

Posted in nagios | Comments Off on change password for nagios

recheck nagios if working

/usr/local/nagios/etc/ vi nagios.cfg to modify then after finish and run link below /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Posted in nagios | Comments Off on recheck nagios if working