Yes.I assume you applied configuration, correct?
not really. I tried with simple config. Example cwm-jfr-app1.cfg / CPU Usage.What is the config file's name of the service in "sync missed" status? Any special characters in it?
Code: Select all
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-03-19 11:12:24
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define service {
host_name cwm-jfr-app1
service_description CPU Usage
use xiwizard_windowsserver_nsclient_service
display_name CPU Usage
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!CPULOAD!-l 5,83,90!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description Drive C: Disk Usage
use xiwizard_windowsserver_nsclient_service
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!USEDDISKSPACE!-l C -w 80 -c 95
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description IIS Web Server
use xiwizard_windowsserver_nsclient_service
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!SERVICESTATE!-l W3SVC -d SHOWALL
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description Memory Usage
use xiwizard_windowsserver_nsclient_service
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!MEMUSE!-w 80 -c 90
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description MSSQL Connection Time
use xiwizard_mssqlserver_service
hostgroup_name Aprovisionamiento
servicegroups ADSL
check_command check_xi_mssql_server!-H 'cwm-jfr-app1' -U 'nagiosopcss' -P 'nagiosopcss' -p 1433 --time2connect --warning 1 --critical 5!!!!!!!
max_check_attempts 2
check_interval 1
retry_interval 3
check_period xi_timeperiod_24x7
event_handler services restart
event_handler_enabled 1
notification_interval 60
notification_period xi_timeperiod_24x7
notification_options w,c,r,
notifications_enabled 0
contact_groups Apps,Dbas
register 1
}
define service {
host_name cwm-jfr-app1
service_description MSSQL Deadlocks Per Sec
use xiwizard_mssqlserver_service
servicegroups ADSL
check_command check_xi_mssql_server!-U 'nagiosopcss' -P 'nagiosopcss' -p 1433 --deadlocks --warning 20 --critical 30
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard mssqlserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description MSSQL Lock Timeouts Per Sec
use xiwizard_mssqlserver_service
servicegroups ADSL
check_command check_xi_mssql_server!-U 'nagiosopcss' -P 'nagiosopcss' -p 1433 --locktimeouts --warning 20 --critical 30
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard mssqlserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description MSSQL Lock Waits Per Sec
use xiwizard_mssqlserver_service
servicegroups ADSL
check_command check_xi_mssql_server!-U 'nagiosopcss' -P 'nagiosopcss' -p 1433 --lockwaits --warning 20 --critical 30
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard mssqlserver
register 1
}
define service {
service_description Ping
use xiwizard_windowsserver_ping_service
servicegroups ADSL
check_command check_fping!1!2!!!!!!
max_check_attempts 5
check_interval 2
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,u,r,c,f
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
register 1
}
define service {
host_name cwm-jfr-app1
service_description SQL Server
use xiwizard_windowsserver_nsclient_service
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!SERVICESTATE!-l MSSQLSERVER -d SHOWALL
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
define service {
host_name cwm-jfr-app1
service_description Uptime
use xiwizard_windowsserver_nsclient_service
servicegroups ADSL
check_command check_xi_service_nsclient!nagioscwp!UPTIME
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts AAA80686
contact_groups DL GSSI DB,OperacionesCS,Provisioning
_xiwizard windowsserver
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################I moved "Pana05.cfg.bk" in another folder.The "Pana05.cfg.bk" file hasn't updated. What is it? Can you temporarily move to to a different location, for example to "/tmp"?
Code: Select all
[root@nagioscwp services]# ls -l /usr/local/nagios/etc/services
total 900
drwxrwsr-x 2 apache nagios 4096 Feb 8 2011 backup
-rw-rw-r-- 1 apache nagios 964 Mar 19 11:05 CIS.cfg
-rw-rw-r-- 1 apache nagios 6489 Mar 19 11:05 cwm-jfr-app1.cfg
-rw-rw-r-- 1 apache nagios 4283 Mar 19 11:05 cwm-jfr-iweb.cfg
-rw-rw-r-- 1 apache nagios 3446 Mar 19 11:05 cwm-jfr-rdm.cfg
-rw-rw-r-- 1 apache nagios 1103 Mar 19 11:05 cwm-jfr-rep.cfg
-rw-rw-r-- 1 apache nagios 19752 Mar 19 11:05 cwm-jfr-uapp.cfg
-rw-rw-r-- 1 apache nagios 9240 Mar 19 11:05 cwm-jfr-wsm.cfg
-rw-rw-r-- 1 apache nagios 2544 Mar 19 11:05 cwmportal.cfg
-rw-rw-r-- 1 apache nagios 1187 Mar 19 11:05 cwm-sfr-bdco2.cfg
-rw-rw-r-- 1 apache nagios 1166 Mar 19 11:05 cwm-sfr-bdco.cfg
-rw-rw-r-- 1 apache nagios 9030 Mar 19 11:05 cwm-sfr-db1.cfg
-rw-rw-r-- 1 apache nagios 3611 Mar 19 11:05 cwm-sfr-dbact.cfg
-rw-rw-r-- 1 apache nagios 4258 Mar 19 11:05 cwm-sfr-dwpre.cfg
-rw-rw-r-- 1 apache nagios 4085 Mar 19 11:05 cwm-sfr-msapp.cfg
-rw-rw-r-- 1 apache nagios 17516 Mar 19 11:05 cwm-sfr-ntrack.cfg
-rw-rw-r-- 1 apache nagios 1040 Mar 19 11:05 cwm-sfr-ntrack_copy.cfg
-rw-rw-r-- 1 apache nagios 4045 Mar 19 11:05 cwm-sfr-rep.cfg
-rw-rw-r-- 1 apache nagios 4171 Mar 19 11:05 cwm-sfr-repdrm.cfg
-rw-rw-r-- 1 apache nagios 12156 Mar 19 11:05 cwm-sfr-roam.cfg
-rw-rw-r-- 1 apache nagios 1073 Mar 19 11:05 cwm-sfr-sb1.cfg
-rw-rw-r-- 1 apache nagios 31960 Mar 19 11:05 cwm-sfr-upra.cfg
-rw-rw-r-- 1 apache nagios 1079 Mar 19 11:05 cwm-sfr-uprod2.cfg
-rw-rw-r-- 1 apache nagios 5377 Mar 19 11:05 cwm-sfr-uprod.cfg
-rw-rw-r-- 1 apache nagios 1006 Mar 19 11:05 cwm-vm-ccs.cfg
-rw-rw-r-- 1 apache nagios 1855 Mar 19 11:05 cwm-vm-ultmflo.cfg
-rw-rw-r-- 1 apache nagios 1507 Mar 19 11:05 cwm-vm-web1.cfg
-rw-rw-r-- 1 apache nagios 10633 Mar 19 11:05 cwp-esp-app3.cfg
-rw-rw-r-- 1 apache nagios 5263 Mar 19 11:05 cwp-esp-bztlk.cfg
-rw-rw-r-- 1 apache nagios 7120 Mar 19 11:05 cwp-esp-dwh.cfg
-rw-rw-r-- 1 apache nagios 3268 Mar 19 11:05 cwp-jfr-asaf.cfg
-rw-rw-r-- 1 apache nagios 6346 Mar 19 11:05 cwp-jfr-bwdf.cfg
-rw-rw-r-- 1 apache nagios 14329 Mar 19 11:05 cwp-jfr-bztlk1.cfg
-rw-rw-r-- 1 apache nagios 3198 Mar 19 11:05 cwp-jfr-bztlk2.cfg
-rw-rw-r-- 1 apache nagios 1903 Mar 19 11:05 cwp-jfr-cisrep.cfg
-rw-rw-r-- 1 apache nagios 6859 Mar 19 11:05 cwp-jfr-dbms.cfg
-rw-rw-r-- 1 apache nagios 33519 Mar 19 11:05 cwp-jfr-dwr .cfg
-rw-rw-r-- 1 apache nagios 33519 Mar 19 11:05 cwp-jfr-dwr.cfg
-rw-rw-r-- 1 apache nagios 2588 Mar 19 11:05 cwp-jfr-his1.cfg
-rw-rw-r-- 1 apache nagios 1298 Mar 19 11:05 cwp-jfr-isp.cfg
-rw-rw-r-- 1 apache nagios 5140 Mar 19 11:05 cwp-jfr-opcs.cfg
-rw-rw-r-- 1 apache nagios 5776 Mar 19 11:05 cwp-jfr-rsf.cfg
-rw-rw-r-- 1 apache nagios 4184 Mar 19 11:05 cwp-jfr-sam.cfg
-rw-rw-r-- 1 apache nagios 4677 Mar 19 11:05 cwp-jfr-sql2k5.cfg
-rw-rw-r-- 1 apache nagios 1099 Mar 19 11:05 cwp-jfr-wsm.cfg
-rw-rw-r-- 1 apache nagios 45386 Mar 19 11:05 cwp-sfr-act.cfg
-rw-rw-r-- 1 apache nagios 4242 Mar 19 11:05 cwp-sfr-bztlk1.cfg
-rw-rw-r-- 1 apache nagios 5328 Mar 19 11:05 cwp-sfr-bztlk2.cfg
-rw-rw-r-- 1 apache nagios 5327 Mar 19 11:05 cwp-sfr-dbc1.cfg
-rw-rw-r-- 1 apache nagios 4739 Mar 19 11:05 cwp-sfr-dbc2.cfg
-rw-rw-r-- 1 apache nagios 1116 Mar 19 11:05 cwp-sfr-dbms.cfg
-rw-rw-r-- 1 apache nagios 1098 Mar 19 11:05 cwp-sfr-rep.cfg
-rw-rw-r-- 1 apache nagios 1116 Mar 19 11:05 cwp-sfr-uprod.cfg
-rw-rw-r-- 1 apache nagios 2955 Mar 19 11:05 cwp-vm-ccs.cfg
-rw-rw-r-- 1 apache nagios 5628 Mar 19 11:05 cwp-vm-dts.cfg
-rw-rw-r-- 1 apache nagios 3984 Mar 19 11:05 cwp-vm-ecitas.cwpanama.com.cfg
-rw-rw-r-- 1 apache nagios 3097 Mar 19 11:05 CWP_VMi_LIBAPP1.cfg
-rw-rw-r-- 1 apache nagios 3200 Mar 19 11:05 CWP_VMi_LIBAPP2.cfg
-rw-rw-r-- 1 apache nagios 3259 Mar 19 11:05 CWP_VMi_LIBAPP3.cfg
-rw-rw-r-- 1 apache nagios 3457 Mar 19 11:05 CWP_VMi_LIBAPP4.cfg
-rw-rw-r-- 1 apache nagios 1595 Mar 19 11:05 CWP-VMi-LIBW1.cfg
-rw-rw-r-- 1 apache nagios 1550 Mar 19 11:05 cwp-vm-iserv1.cfg
-rw-rw-r-- 1 apache nagios 3772 Mar 19 11:05 cwp-vm-itsd.cfg
-rw-rw-r-- 1 apache nagios 4403 Mar 19 11:05 CWP_VM_LIBAUT1.cfg
-rw-rw-r-- 1 apache nagios 7979 Mar 19 11:05 CWP_VM_LIBWS1.cfg
-rw-rw-r-- 1 apache nagios 7982 Mar 19 11:05 CWP_VM_LIBWS2.cfg
-rw-rw-r-- 1 apache nagios 7982 Mar 19 11:05 CWP_VM_LIBWS3.cfg
-rw-rw-r-- 1 apache nagios 5504 Mar 19 11:05 cwp-vm-lws-PROMOCIONES.cfg
-rw-rw-r-- 1 apache nagios 3160 Mar 19 11:05 CWP-VM-NTPH.cfg
-rw-rw-r-- 1 apache nagios 1074 Mar 19 11:05 cwp-vm-tspor.cfg
-rw-rw-r-- 1 apache nagios 3299 Mar 19 11:05 facturacion.cwmovil.com.cfg
-rw-rw-r-- 1 apache nagios 2113 Mar 19 11:05 intranetcwp.cwpanama.com.cfg
-rw-rw-r-- 1 apache nagios 11212 Mar 19 11:05 Intranet NEW.cfg
-rw-rw-r-- 1 apache nagios 1560 Mar 19 11:05 Jinny.cfg
-rw-rw-r-- 1 apache nagios 2825 Mar 19 11:05 nagiosxi.cfg
-rw-rw-r-- 1 apache nagios 70961 Mar 19 11:05 Pagos y Recargas.cfg
-rw-rw-r-- 1 apache nagios 3783 Mar 19 11:05 PANA03.cfg
-rw-rw-r-- 1 apache nagios 4042 Mar 19 11:05 PANA08.cfg
-rw-rw-r-- 1 apache nagios 13224 Mar 19 11:05 PANI01.cfg
-rw-rw-r-- 1 apache nagios 13561 Mar 19 11:05 PANI02.cfg
-rw-rw-r-- 1 apache nagios 3502 Mar 19 11:05 pans00.cfg
-rw-rw-r-- 1 apache nagios 3308 Mar 19 11:05 PANT01.cfg
-rw-rw-r-- 1 apache nagios 1193 Mar 19 11:05 PING BIZTALK APP1.cfg
-rw-rw-r-- 1 apache nagios 1185 Mar 19 11:05 PING BIZTALK BEAILS1.cfg
-rw-rw-r-- 1 apache nagios 1171 Mar 19 11:05 PING BIZTALK BEAILS2.cfg
-rw-rw-r-- 1 apache nagios 1170 Mar 19 11:05 PING BIZTALK CWCC-CHN-IVR3.cfg
-rw-rw-r-- 1 apache nagios 1168 Mar 19 11:05 PING BIZTALK CWCC-CHN-IVR.cfg
-rw-rw-r-- 1 apache nagios 1170 Mar 19 11:05 PING BIZTALK CWP-JFR-BDBZ1.cfg
-rw-rw-r-- 1 apache nagios 1170 Mar 19 11:05 PING BIZTALK CWP-JFR-BDBZ2.cfg
-rw-rw-r-- 1 apache nagios 1166 Mar 19 11:05 PING BIZTALK CWP-JFR-BWDF.cfg
-rw-rw-r-- 1 apache nagios 1172 Mar 19 11:05 PING BIZTALK CWP-JFR-BZTLK1.cfg
-rw-rw-r-- 1 apache nagios 1172 Mar 19 11:05 PING BIZTALK CWP-JFR-BZTLK2.cfg
-rw-rw-r-- 1 apache nagios 1172 Mar 19 11:05 PING BIZTALK CWP-JFR-COLLAP.cfg
-rw-rw-r-- 1 apache nagios 1166 Mar 19 11:05 PING BIZTALK CWP-JFR-DWR.cfg
-rw-rw-r-- 1 apache nagios 1168 Mar 19 11:05 PING BIZTALK CWP-JFR-PAYDB.cfg
-rw-rw-r-- 1 apache nagios 1172 Mar 19 11:05 PING BIZTALK CWP-JFR-SQL2K5.cfg
-rw-rw-r-- 1 apache nagios 1172 Mar 19 11:05 PING BIZTALK CWP-SFR-BZTLK1.cfg
-rw-rw-r-- 1 apache nagios 1216 Mar 19 11:05 PING BIZTALK CWP-SFR-BZTLK2.cfg
-rw-rw-r-- 1 apache nagios 1166 Mar 19 11:05 PING BIZTALK CWP-SFR-CRM.cfg
-rw-rw-r-- 1 apache nagios 1168 Mar 19 11:05 PING BIZTALK CWP-SFR-DBC1.cfg
-rw-rw-r-- 1 apache nagios 1168 Mar 19 11:05 PING BIZTALK CWP-SFR-DBC2.cfg
-rw-rw-r-- 1 apache nagios 1164 Mar 19 11:05 PING BIZTALK CWP-VM-ETL.cfg
-rw-rw-r-- 1 apache nagios 1160 Mar 19 11:05 PING BIZTALK EMG.cfg
-rw-rw-r-- 1 apache nagios 1162 Mar 19 11:05 PING BIZTALK JINNY.cfg
-rw-rw-r-- 1 apache nagios 1163 Mar 19 11:05 PING BIZTALK MINSAT.cfg
-rw-rw-r-- 1 apache nagios 1165 Mar 19 11:05 PING BIZTALK OPENCIS 1.cfg
-rw-rw-r-- 1 apache nagios 1165 Mar 19 11:05 PING BIZTALK OPENCIS 2.cfg
-rw-rw-r-- 1 apache nagios 1165 Mar 19 11:05 PING BIZTALK UNICORN.cfg
-rw-rw-r-- 1 apache nagios 2617 Mar 19 11:05 sap07.cfg
-rw-rw-r-- 1 apache nagios 3440 Mar 19 11:05 sap11.cfg
-rw-rw-r-- 1 apache nagios 5322 Mar 19 11:05 sharep.cfg
-rw-rw-r-- 1 apache nagios 1088 Mar 19 11:05 Switch JFR.cfg
-rw-rw-r-- 1 apache nagios 1088 Mar 19 11:05 Switch SFR.cfg
-rw-rw-r-- 1 apache nagios 1215 Mar 19 11:05 Transacciones IVR APP.cfg
-rw-rw-r-- 1 apache nagios 12696 Mar 19 11:05 ultimus.cfg
-rw-rw-r-- 1 apache nagios 6208 Mar 19 11:05 ultmdb.cfg
-rw-rw-r-- 1 apache nagios 1746 Mar 19 11:05 ultmflo.cfg
-rw-rw-r-- 1 apache nagios 2557 Mar 19 11:05 www.cwpanama.com.cfg