<?xml version="1.0" ?><product name="nsc"> 
   <license>/usr/local/nsc/conf/license/License.txt</license> 
   <pubkey>/usr/local/sng/scripts/sng_license_public.pem,/usr/local/sng/scripts/sng_license_public4k.pem</pubkey> 
   <about>/usr/local/sng/conf/nsc-version.xml</about> 
   <update>  
      <conf>/usr/local/sng/conf/nsc.d/nsc-yum.conf</conf>  
      <repo>/usr/local/sng/conf/nsc.d/nsc.repo</repo>  
   </update> 
   <directories>  
      <base>/usr/local/nsc</base>  
      <log>/var/log/nsc</log>  
      <data>/usr/local/nsc/data</data>  
      <core-dump>/var/core</core-dump>  
      <binary>/usr/local/nsc/bin</binary>  
      <sng-bin>/usr/local/sng/bin</sng-bin>  
      <sng-base>/usr/local/sng</sng-base>  
      <configuration>/usr/local/nsc/conf</configuration>  
      <python-packages>/opt/rh/python27/root/usr/lib64/python2.7/site-packages</python-packages>  
      <doc>/usr/local/nsc/doc</doc>  
   </directories> 
   <services>  
      <service>   
         <name>firewall</name>   
         <description>IP Firewall</description>   
         <category>Security</category>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
      <service>   
         <name>ntpd</name>   
         <category>System</category>   
         <description>Date &amp; Time</description>   
         <properties>    
            <property name="allow_user_ctl" value="hide"/>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
      <service>   
         <name>snort</name>   
         <description>Intrusion Detection</description>   
         <category>Security</category>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
      <service>   
         <name>snortsam</name>   
         <description>Intrusion Prevention</description>   
         <category>Security</category>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
      <service>   
         <name>sshd</name>   
         <category>System</category>   
         <description>Secure Shell</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
      <service>   
         <name>httpd</name>   
         <category>System</category>   
         <description>Web Server</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service>   
         <name>snmpd</name>   
         <category>Monitoring</category>   
         <description>SNMP</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service>   
         <name>mysqld</name>   
         <category>Application</category>   
         <description>SQL Server</description>   
         <properties>    
            <property name="allow_user_ctl" value="hide"/>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service>   
         <name>cwmp</name>   
         <category>Monitoring</category>   
         <description>CWMP (TR-069)</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service>   
         <name>notifier</name>   
         <category>Monitoring</category>   
         <description>Notifier</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service>   
               <name>tdmgw</name>   
	       <category>Application</category>   
	       <description>TDM Gateway</description>   
	       <properties>    
	            <property name="can_restore" value="true"/>    
	       </properties>   
	  </service>  <service create="post">   
         <name>monitor</name>   
         <category>Monitoring</category>   
         <description>Monitor</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>      
      <service create="post">   
         <name>auditor</name>   
         <category>Monitoring</category>   
         <description>Auditor</description>   
         <properties>    
            <property name="can_restore" value="true"/>    
         </properties>   
      </service>  
   </services> 
   <audit>  
      <modules>   
         <!-- Default parameters for modules/services -->   
         <module name="application">    
            <point action="alert" level="critical" type="service">      
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <help>Alert when the NSC service memory or CPU usage is higher than the specified value.</help>     
            </point>    
            <point action="alert" level="critical" name="critical" type="application_log">     
               <param name="regex" value="\[CRIT\]"/>     
               <help>Alert when NSC logs critical messages.</help>     
            </point>    
            <point action="alert" level="error" name="error" type="application_log">     
               <param name="regex" value="\[ERR\]"/>     
               <help>Alert when NSC logs error messages.</help>     
            </point>    
            <point action="alert" level="error" name="warning" type="application_log">     
               <param name="regex" value="\[WARNING\]"/>     
               <help>Alert when NSC logs warning messages.</help>     
            </point>    
            <point action="alert" description="Core Dump" level="critical" name="core-dump" type="system_log">     
               <param name="regex" value="\[sng-core-collector\]"/>     
               <help>Alert when NSC produces a core dump.</help>     
            </point>    
            <!-- Those points are not part of application module, but defined under
        "application" so they are reported as alarm for "application" -->    
            <!-- sip module audit points -->    
            <point action="alert" description="Call Capacity %" level="critical" name="session/capacity" type="program">     
               <arg name="program" value="fs_capacity_session.py"/>     
               <param default="90" name="limit"/>     
               <help>Alert when NSC call load exceeds the specified value.</help>     
            </point>    
            <point action="alert" description="Trunk Availability %" level="critical" name="trunk/status" type="program">     
               <arg name="program" value="fs_trunk_status.py"/>     
               <param default="90" name="limit"/>     
               <help>Alert when NSC trunk availability percentage is lower than the specified value.</help>     
            </point>    
            <!-- sngms module audit points -->    
            <point action="alert" description="DSP Availability %" level="critical" name="dsp/capacity" type="program">     
               <arg name="program" value="fs_dsp_status.py"/>     
               <param default="100" name="limit"/>     
               <help>Alert when NSC DSP availability percentage is lower than the specified value.</help>     
            </point>    
         </module>   
         <module name="system">    
            <point action="alert" level="critical" type="system_load">     
               <param default="2.0" name="1min" rules="decimal|greater_than[0]"/>     
               <param default="1.0" name="5min" rules="decimal|greater_than[0]"/>     
               <param default="1.0" name="15min" rules="decimal|greater_than[0]"/>     
               <help>Alert when system load averages are higher than the specified values for the past 1, 5, and 15 minutes.</help>     
            </point>    
            <point action="alert" level="critical" type="system_cpu">     
               <param default="75" name="user"/>     
               <param default="75" name="system"/>     
               <param default="75" name="wait"/>     
               <help>Alert when the percentages of CPU usage are higher than the specified values for User,System and Wait.</help>     
            </point>    
            <point action="alert" level="critical" type="system_memory">     
               <param default="75" name="limit"/>     
               <help>Alert when the percentages of total memory are higher than the specified values.</help>     
            </point>    
            <point action="alert" level="critical" name="root" type="filesystem">     
               <arg name="path" value="/"/>     
               <param default="75" name="limit"/>     
               <help>Alert when the /root partition usage percentages are higher than the specified value.</help>     
            </point>    
            <point action="alert" level="critical" name="var" type="filesystem">     
               <arg name="path" value="/var"/>     
               <param default="75" name="limit"/>     
               <help>Alert when the /var partition usage percentages are higher than the specified value.</help>     
            </point>    
            <point action="alert" category="System" description="RAID Status" level="critical" name="raid" type="program">     
               <arg name="program" value="sng_raid_check.py"/>     
               <help>Alert when the RAID status is abnormal.</help>     
            </point>    
         </module>   
         <module name="mysqld">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <param default="true" name="restart" type="hidden"/>     
               <help>Alert when the SQL Server service memory or CPU usage is higher than the specified value.</help>     
            </point>    
         </module>   
         <module name="webconfig">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <param default="true" name="restart" type="hidden"/>     
               <help>Alert when the WEB server service memory or CPU usage is higher than the specified value.</help>     
            </point>    
         </module>   
         <module name="rtcpmon">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <help>Alert when the RTCP monitor service memory or CPU usage is higher than the specified value.</help>     
            </point>    
            <point action="alert" level="critical" name="critical" type="log">     
               <param name="regex" value="CRITICAL"/>     
               <help>Alert when RTCP monitor logs critical messages.</help>     
            </point>    
            <point action="alert" level="error" name="error" type="log">     
               <param name="regex" value="ERROR"/>     
               <help>Alert when RTCP monitor logs error messages.</help>     
            </point>    
            <point action="alert" level="error" name="warning" type="log">     
               <param name="regex" value="WARNING"/>     
               <help>Alert when RTCP monitor logs warning messages.</help>     
            </point>    
            <point action="alert" description="Call Quality" level="critical" name="call/quality" type="program">     
               <arg name="program" value="fs_call_quality.py"/>     
               <arg name="time" value="65"/>     
               <param default="50" name="jitter" rules="integer|greater_than[0]"/>     
               <param default="0.5" label="Packet Loss" name="loss"/>     
               <param default="50" label="RTT" name="rtt" rules="integer|greater_than[0]"/>     
               <help>Alert when the jitter, packet loss or RTT values are higher than the specified values.</help>     
            </point>    
         </module>   
         <module name="sipsecmon">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <help>Alert when the SIP security monitor service memory or CPU usage is higher than the specified value.</help>     
            </point>    
            <point action="alert" level="critical" name="critical" type="log">     
               <param name="regex" value="CRITICAL"/>     
               <help>Alert when SIP security monitor logs critical messages.</help>     
            </point>    
            <point action="alert" level="error" name="error" type="log">     
               <param name="regex" value="ERROR"/>     
               <help>Alert when SIP security monitor logs error messages.</help>     
            </point>    
            <point action="alert" level="error" name="warning" type="log">     
               <param name="regex" value="WARNING"/>     
               <help>Alert when SIP security monitor logs warning messages.</help>     
            </point>    
         </module>   
         <module name="mediamon">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <help>Alert when the media firewall service memory or CPU usage is higher than the specified value.</help>     
            </point>    
            <point action="alert" level="critical" name="critical" type="log">     
               <param name="regex" value="CRITICAL"/>     
               <help>Alert when Media Firewall logs critical messages.</help>     
            </point>    
            <point action="alert" level="error" name="error" type="log">     
               <param name="regex" value="ERROR"/>     
               <help>Alert when Media Firewall logs error messages.</help>     
            </point>    
            <point action="alert" level="error" name="warning" type="log">     
               <param name="regex" value="WARNING"/>     
               <help>Alert when Media Firewall logs warning messages.</help>     
            </point>    
         </module>   
         <module name="monitor">    
            <point action="alert" level="critical" type="service">     
               <param default="75" name="memory"/>     
               <param default="75" name="cpu"/>     
               <help>Alert when the monitor service memory or CPU usage is higher than the specified value.</help>     
            </point>    
         </module>   
         <module name="network">    
            <point action="alert" category="System" description="Network Interface eth0 Status" level="critical" name="network/interface/eth0/status" type="program">     
               <arg name="program" value="sng_netiface_status.py"/>     
               <arg name="ifname" value="eth0"/>     
               <help>Alert when a network interface eth0 is disconnected.</help>     
            </point>    
            <point action="alert" category="System" description="Network Interface eth1 Status" level="critical" name="network/interface/eth1/status" type="program">     
               <arg name="program" value="sng_netiface_status.py"/>     
               <arg name="ifname" value="eth1"/>     
               <help>Alert when a network interface eth1 is disconnected.</help>     
            </point>    
         </module>   
      </modules>  
   </audit> 
   <!-- Menu --> 
   <menu>  
      <category name="Overview">   
         <subcategory name="Dashboard">    
            <entry group="admin" name="System Status" type="dashboard" url="/SAFe/sng_dashboard"/>    
            <entry group="admin" name="Control Panel" type="dashboard" url="/SAFe/sng_control_panel"/>    
         </subcategory>   
         <subcategory name="Signaling">    
            <entry group="admin" name="SIP Profiles Status" type="dashboard" url="/SAFe/fs_sip_status"/>    
            <entry group="admin" name="SIP Trunks Status" type="dashboard" url="/SAFe/fs_sip_trunk_status"/>    
            <entry group="admin" name="SIP Sessions Status" type="dashboard" url="/SAFe/fs_sip_status/channels"/>    
         </subcategory>   
         <subcategory name="Media">    
            <entry group="admin" name="Media Interfaces Status" type="dashboard" url="/SAFe/fs_sngms_status"/>    
         </subcategory>   
         <subcategory name="Security">    
            <entry group="admin" name="SIP Firewall Status" type="dashboard" url="/SAFe/nsc_sipsecmon_blockedip"/>    
            <entry group="admin" name="Intrusion Detection Status" type="dashboard" url="/admin/intrusion-prevention.php"/>    
         </subcategory>   
       <subcategory name="Gateway">    
                    <entry group="admin" name="TDM Interfaces Status" type="dashboard" url="/SAFe/fs_tdmgw_status"/>    
               </subcategory>  </category>  
      <category name="Configuration">   
         <subcategory name="General">    
            <entry group="admin" name="Core" type="configuration" url="/SAFe/fs_core_config"/>    
         </subcategory>   
         <subcategory name="IP Settings">    
            <entry group="admin" name="Network" type="configuration" url="/SAFe/sng_network_config"/>    
            <entry group="admin" name="Media Interfaces" type="configuration" url="/SAFe/fs_sngms_config"/>    
         </subcategory>   
         <subcategory name="Signaling">    
            <entry group="admin" name="Domains" type="configuration" url="/SAFe/fs_directory_config"/>    
            <entry group="admin" name="SIP Profiles" type="configuration" url="/SAFe/fs_sip_profile_config"/>    
            <entry group="admin" name="SIP Trunks" type="configuration" url="/SAFe/fs_sip_trunk_config"/>    
            <entry group="admin" name="RADIUS" type="configuration" url="/SAFe/nsc_radius"/>    
         </subcategory>   
         <subcategory name="Media">    
            <entry group="admin" name="Media Profiles" type="configuration" url="/SAFe/fs_media_config"/>    
            <entry group="admin" name="RTCP Monitor" type="configuration" url="/SAFe/nsc_rtcpmon_config"/>    
         </subcategory>   
         <subcategory name="Routing">    
            <entry group="admin" name="Call Routing" type="configuration" url="/SAFe/fs_routing_config"/>    
            <entry group="admin" name="Header Manipulation" type="configuration" url="/SAFe/fs_hmr_config"/>    
            <entry group="admin" name="LCR Carriers" type="configuration" url="/SAFe/fs_carrier_config"/>    
            <entry group="admin" name="ENUM" type="configuration" url="/SAFe/fs_enum_config"/>    
            <entry group="admin" name="Load Balancing" type="configuration" url="/SAFe/fs_distributor_config"/>    
         </subcategory>   
         <subcategory name="Security">    
            <entry group="admin" name="IP Firewall" type="configuration" url="/SAFe/sng_firewall_config"/>    
            <entry group="admin" name="SIP Firewall" type="configuration" url="/SAFe/nsc_sipsecmon_config"/>    
            <entry group="admin" name="Media Firewall" type="configuration" url="/SAFe/nsc_mediamon_config"/>    
            <entry group="admin" name="Intrusion Detection" type="configuration" url="intrusion-detection.php"/>    
            <entry group="admin" name="CAC Profiles" type="configuration" url="/SAFe/fs_cac_config"/>    
            <entry group="admin" name="Certificates" type="configuration" url="/SAFe/fs_certificate_config_manager"/>    
         </subcategory>   
         <subcategory name="Gateway">    
                    <entry group="admin" name="Global" type="configuration" url="/SAFe/fs_tdmgw_global_config"/>    
                    <entry group="admin" name="TDM Interfaces" type="configuration" url="/SAFe/fs_tdmgw_tdm_config"/>    
                    <entry group="admin" name="Dialplan" type="configuration" url="/SAFe/fs_tdmgw_dialplan_config"/>    
                    <entry group="admin" name="SIP" type="configuration" url="/SAFe/fs_tdmgw_sip_config"/>    
               </subcategory>   <subcategory name="Reporting">    
            <entry group="admin" name="CDR" type="configuration" url="/SAFe/fs_cdr_config"/>    
         </subcategory>   
         <subcategory name="Management">    
            <entry group="admin" name="Apply" type="configuration" url="/SAFe/sng_config_manager"/>    
            <entry group="admin" name="Backup - Restore" type="configuration" url="/SAFe/sng_archive_manager"/>    
         </subcategory>   
      </category>  
      <category name="System">   
         <subcategory name="Settings">    
            <entry group="admin" name="Date &amp; Time" type="configuration" url="/SAFe/sng_ntpd_config"/>    
            <entry group="admin" name="Users" type="configuration" url="/SAFe/sng_user_config"/>    
            <entry group="admin" name="License" type="configuration" url="/SAFe/sng_license"/>    
            <entry group="admin" name="Shutdown - Restart" type="configuration" url="/SAFe/sng_system_shutdown"/>    
	    <entry group="admin" name="Reset" type="configuration" url="/SAFe/sng_system_reset"/>    
            <entry group="admin" name="Preferences" type="configuration" url="/SAFe/sng_settings_config"/>    
         </subcategory>   
         <subcategory name="Server">    
            <entry group="admin" name="REST" type="configuration" url="/SAFe/sng_rest_config"/>    
            <entry group="admin" name="Web" type="configuration" url="/SAFe/sng_httpd_config"/>    
            <entry group="admin" name="Secure Shell" type="configuration" url="/SAFe/sng_sshd_config"/>    
         </subcategory>   
         <subcategory name="Monitoring">    
            <entry group="admin" name="General" type="configuration" url="/SAFe/sng_monitor_config"/>    
            <entry group="admin" name="Notification" type="configuration" url="/SAFe/sng_notifier_config"/>    
            <entry group="admin" name="Audit Points" type="configuration" url="/SAFe/sng_auditor_config"/>    
            <entry group="admin" name="SNMP" type="configuration" url="/SAFe/sng_snmpd_config"/>    
            <!--        <entry name="Watchdog" type="configuration" group="admin"
          url="/SAFe/sng_watchdog_config"/> -->    
         </subcategory>   
         <subcategory name="Management">    
            <entry group="admin" name="Backup - Restore" type="configuration" url="/SAFe/sng_archive_manager_alias"/>    
            <entry group="admin" name="Update" type="help" url="/SAFe/sng_update_manager_alias"/>    
            <entry group="admin" name="WebSSH" type="help" url="/SAFe/sng_webssh"/>    
            <entry group="admin" name="CWMP" type="configuration" url="/SAFe/sng_cwmp_config"/>    
         </subcategory>   
      </category>  
      <category name="Reports">   
         <subcategory name="System">    
            <entry group="admin" name="NSC Logs" type="configuration" url="/SAFe/sng_log_manager"/>    
            <entry group="admin" name="Advanced Logs" type="configuration" url="logs.php"/>    
	    <entry group="admin" name="Storage Status" type="configuration" url="/SAFe/sng_storage_status"/>    
            <entry group="admin" name="CDR" type="configuration" url="/SAFe/fs_cdr_data"/>    
            <entry group="admin" name="RTCP Statistics" type="configuration" url="/SAFe/nsc_rtcpmon"/>    
            <entry group="admin" name="Hardware Report" type="configuration" url="hardware-report.php"/>    
            <entry group="admin" name="Resource Report" type="configuration" url="resource-report.php"/>    
	    <entry group="admin" name="Events" type="configuration" url="/SAFe/sng_auditor_status"/>    
         </subcategory>   
         <subcategory name="Network">    
            <entry group="admin" name="Network Report" type="configuration" url="network-report.php"/>    
            <entry group="admin" name="Network Status" type="configuration" url="network-status.php"/>    
            <entry group="admin" name="Network Traffic" type="configuration" url="network-traffic.php"/>    
            <entry group="admin" name="Network Capture" type="configuration" url="sng_capture.php"/>    
         </subcategory>   
      </category>  
      <category name="Help">   
         <subcategory name="Support">    
            <entry group="admin" name="User Guide" type="help" url="http://wiki.sangoma.com/NetBorder-Session-Controller"/>    
            <entry group="admin" name="Contact Us" type="help" url="http://www.sangoma.com/support"/>    
         </subcategory>   
         <subcategory name="System">    
            <entry group="admin" name="About" type="help" url="/SAFe/sng_about"/>    
            <entry group="admin" name="Update" type="help" url="/SAFe/sng_update_manager"/>    
         </subcategory>   
      </category>  
      <category name="Development">   
         <subcategory name="Debug">    
            <entry group="admin" name="DB" type="debug" url="/SAFe/sng_debug/db"/>    
            <entry group="admin" name="Data Manager" type="debug" url="/SAFe/sng_data_manager"/>    
            <entry group="admin" name="Session" type="debug" url="/SAFe/sng_debug/session"/>    
            <entry group="admin" name="Apache Status" type="debug" url="/SAFe/sng_debug/status"/>    
            <entry group="admin" name="PHP Info" type="debug" url="/SAFe/sng_debug/info"/>    
         </subcategory>   
      </category>  
   </menu> 
</product>