templates deleted after adding new monitoring
Posted: Sat Jan 31, 2015 10:57 pm
Hi, any idea why the entries from templates after adding new monitoring service is deleted?
[root@localhost etc]# diff servicetemplates.cfg servicetemplates.cfg.bak
6c6
< # Date: 2015-02-01 11:28:56
---
> # Date: 2015-01-31 17:41:56
15,19d14
< define service {
< name nagiosgraph
< action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
< register 0
-----------
after added new monitoring and restart service, the template entries added is deleted
[root@localhost etc]# diff servicetemplates.cfg servicetemplates.cfg.bak
6c6
< # Date: 2015-02-01 11:48:26
---
> # Date: 2015-01-31 17:41:56
[root@localhost etc]# diff servicetemplates.cfg servicetemplates.cfg.bak
6c6
< # Date: 2015-02-01 11:28:56
---
> # Date: 2015-01-31 17:41:56
15,19d14
< define service {
< name nagiosgraph
< action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
< register 0
-----------
after added new monitoring and restart service, the template entries added is deleted
[root@localhost etc]# diff servicetemplates.cfg servicetemplates.cfg.bak
6c6
< # Date: 2015-02-01 11:48:26
---
> # Date: 2015-01-31 17:41:56