<commit_before><?xml version="1.0"?>
<notifd-configuration 
        status="off"
        pages-sent="SELECT * FROM notifications"
        next-notif-id="SELECT nextval('notifynxtid')"
        next-user-notif-id="SELECT nextval('userNotifNxtId')"
        next-group-id="SELECT nextval('notifygrpid')"
        service-id-sql="SELECT serviceID from service where serviceName = ?"
        outstanding-notices-sql="SELECT notifyid FROM notifications where notifyId = ? AND respondTime is not null"
        acknowledge-id-sql="SELECT notifyid FROM notifications WHERE eventuei=? AND nodeid=? AND interfaceid=? AND serviceid=?"
        acknowledge-update-sql="UPDATE notifications SET answeredby=?, respondtime=? WHERE notifyId=?"
	match-all="true">
        
	<auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/serviceResponsive" 
                          acknowledge="uei.opennms.org/nodes/serviceUnresponsive">
                          <match>nodeid</match>
                          <match>interfaceid</match>
                          <match>serviceid</match>
        </auto-acknowledge>
	
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/nodeRegainedService" 
                          acknowledge="uei.opennms.org/nodes/nodeLostService">
                          <match>nodeid</match>
                          <match>interfaceid</match>
                          <match>serviceid</match>
        </auto-acknowledge>
        
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/interfaceUp" 
                          acknowledge="uei.opennms.org/nodes/interfaceDown">
                          <match>nodeid</match>
                          <match>interfaceid</match>
        </auto-acknowledge>
        
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/nodeUp" 
                          acknowledge="uei.opennms.org/nodes/nodeDown">
                          <match>nodeid</match>
        </auto-acknowledge>
        
        <queue>
                <queue-id>default</queue-id>
                <interval>20s</interval>
                <handler-class>
                        <name>org.opennms.netmgt.notifd.DefaultQueueHandler</name>
                </handler-class>
        </queue>
</notifd-configuration><commit_msg>added autoacknowledge for wide spread outages to notifd config.<commit_after><?xml version="1.0"?>
<notifd-configuration 
        status="off"
        pages-sent="SELECT * FROM notifications"
        next-notif-id="SELECT nextval('notifynxtid')"
        next-user-notif-id="SELECT nextval('userNotifNxtId')"
        next-group-id="SELECT nextval('notifygrpid')"
        service-id-sql="SELECT serviceID from service where serviceName = ?"
        outstanding-notices-sql="SELECT notifyid FROM notifications where notifyId = ? AND respondTime is not null"
        acknowledge-id-sql="SELECT notifyid FROM notifications WHERE eventuei=? AND nodeid=? AND interfaceid=? AND serviceid=?"
        acknowledge-update-sql="UPDATE notifications SET answeredby=?, respondtime=? WHERE notifyId=?"
	match-all="true">
        
	<auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/serviceResponsive" 
                          acknowledge="uei.opennms.org/nodes/serviceUnresponsive">
                          <match>nodeid</match>
                          <match>interfaceid</match>
                          <match>serviceid</match>
        </auto-acknowledge>
	
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/nodeRegainedService" 
                          acknowledge="uei.opennms.org/nodes/nodeLostService">
                          <match>nodeid</match>
                          <match>interfaceid</match>
                          <match>serviceid</match>
        </auto-acknowledge>
        
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/interfaceUp" 
                          acknowledge="uei.opennms.org/nodes/interfaceDown">
                          <match>nodeid</match>
                          <match>interfaceid</match>
        </auto-acknowledge>
        
        <auto-acknowledge resolution-prefix="RESOLVED: " uei="uei.opennms.org/nodes/nodeUp" 
                          acknowledge="uei.opennms.org/nodes/nodeDown">
                          <match>nodeid</match>
        </auto-acknowledge>
        
        <auto-acknowledge resolution-prefix="RESOLVED: "
            uei="uei.opennms.org/correlation/remote/wideSpreadOutageResolved"
            acknowledge="uei.opennms.org/correlation/remote/wideSpreadOutage">
            <match xmlns="">nodeid</match>
            <match xmlns="">interfaceid</match>
            <match xmlns="">serviceid</match>
        </auto-acknowledge>
        
        <queue>
                <queue-id>default</queue-id>
                <interval>20s</interval>
                <handler-class>
                        <name>org.opennms.netmgt.notifd.DefaultQueueHandler</name>
                </handler-class>
        </queue>
</notifd-configuration>
{'fraction_non_alphanumeric': 0.1187791601866252, 'fraction_numerical': 0.0015552099533437014, 'mean_word_length': 1.9808806488991888, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 2, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5934846', 'n_tokens_mistral': 1474, 'n_tokens_neox': 1438, 'n_words': 192}