[main] # log to logfile in verbose mode? trace_mode_enabled=0 # only send notification for errors, not for OK status? errors_only=0 # make all errors (other than OK) into this status # use 1 for warning, 2 for critical, 0 to disable force_error_status=0 # Turn embedded URLs into links? handle_links=0 [logging] # Log file information log_enable=1 log_dir=C:\NagiosLogAlerts log_name=scomnagios.log [nrdp] # URL and auth token for Nagios NRDP API url=https://nagios.mydomain.co.nz/nrdp/ token=xxxxxxxxx [hostname] # Convert hostname to lowercase? lower_case=1 # strip domain from hostname domain=auckland.ac.nz [service_desc] default=SCOM: General max=10 # Pattern = Service # name/entity/source{n} = {caseregexp} (if more than one test, the tests are ORed) # match against alertname, entityfullname(including tags), source # desc{n} = {service_desc} # Use {service_desc} IGNORE to drop the notification. # First match wins. name1=Exchange entity1=Microsoft.Exchange desc1=SCOM: Exchange name3=LYNC desc3=SCOM: LYNC name4=Available Megabytes of Memory desc4=SCOM: Memory entity5=AD.DomainController desc5=SCOM: Active Directory entity6=Microsoft.SystemCenter.AgentWatchersGroup name6=Max Concurrent API Reached alert desc6=IGNORE name7=CPU Utilization desc7=SCOM: CPU entity8=Microsoft.Windows.InternetInformationServices source8=IIS Web Server desc8=SCOM: IIS entity9=Microsoft\.Windows\.Server\..*\.LogicalDisk: desc9=SCOM: Disk entity10=Microsoft\.SQLServer\. desc10=SCOM: SQLSERVER