Just spent hours using core config to change the contacts on all of our hosts and services from a single contact to a group and found out that none of them actually worked. These were originally configured by using the wizard. I went into core config and all of the hosts/services showed synced. I would change one host or service then move onto the next. I would only do one page at a time and then click the apply configuration button. As I was nearing the end, I clicked on one of the services that I had already changed and found that it was set back to the single contact and the group wasn't there. How do I actually make the config changes stick????
Version 2009R1.1H
Changes to host or service contacts not staying
Re: Changes to host or service contacts not staying
In some cases this is because of the wrong HTML syntax being emitted to the client causing this to "look" incorrect when actually if you read the page source the value is set correctly. As this is most likely not a matter of using 'value="checked"' instead of 'checked' or something like that I'm a little bit in the dark on the cause here.
Could this be because these values are contained in an XML file that is cached?
As always with these types of reports, please make extra sure this is not just being displayed on this or other screens incorrectly. For example try adding a new contact to a group and directly to a host. Test sending alerts to that host(should pass as this is well tested), then test sending alerts to a host in the group(should fail if you do have a problem).
If your problems runs as deep as not being able to get alerts to your test contact when there is no contact group, then the problem is bigger then contact groups.
I'm sorry that I can't figure out what you would need to do until I can determine that what you see is also what you get. One other thing to make clear is that there are some known bugs with IE and CCM.
Could this be because these values are contained in an XML file that is cached?
As always with these types of reports, please make extra sure this is not just being displayed on this or other screens incorrectly. For example try adding a new contact to a group and directly to a host. Test sending alerts to that host(should pass as this is well tested), then test sending alerts to a host in the group(should fail if you do have a problem).
If your problems runs as deep as not being able to get alerts to your test contact when there is no contact group, then the problem is bigger then contact groups.
I'm sorry that I can't figure out what you would need to do until I can determine that what you see is also what you get. One other thing to make clear is that there are some known bugs with IE and CCM.
Re: Changes to host or service contacts not staying
Would it be better to use firefox? I will do the testing, but would like to try and not have to clear cache and things like that if I can just use another browser and not have the problem.
Re: Changes to host or service contacts not staying
I think it would be better to rule out the cache by making unrelated requests. That is actually test if the contacts were changed, instead of only working off data provided by your browser.
Something unrelated to sending emails, like the web-software, is producing what you see in a web browser. Please don't bother cleaning your browser's cache, it won't rule out problems server side.
Something unrelated to sending emails, like the web-software, is producing what you see in a web browser. Please don't bother cleaning your browser's cache, it won't rule out problems server side.
Re: Changes to host or service contacts not staying
Ok. I ran some tests. First I went into CCM for one host and added a contact. Saved it, then applied the config. I went back in and the contact that I added wasn't there. I added the contact again and put the host into critical state which notified the original contact, but not the new one that I had added. I then went into the host detail view and reconfigured the host using the wizard. I selected the contact and applied the configuration. Then I went into CCM and the contact change actually showed up. That would be fine, for one or two changes, however I need to change the host and service contacts for about 140 entries. Using the wizard is extremely slow compared to using CCM (which is still a long process but I don't know of a better way).
I also tested from a different PC using IE7 instead of IE8 and had the same outcome.
Thanks.
I also tested from a different PC using IE7 instead of IE8 and had the same outcome.
Thanks.
Re: Changes to host or service contacts not staying
I'm not following, you did a great job outlining what steps you took and that was great, on top of that all the steps you did were fantastic. However you didn't say anything about the results of your testing.
I think this could be(totally blind guess) an ndodb issue where changes to Nagios are not visible until Nagios acts on them. So even though you made changes in the CCM they are not visible to the CCM until Nagios pushes them into ndodb.
Sorry nothing we can do about that currently. I understand it's hard to edit something that displays stale information. This "feature" effects a number of our endeavors as well so it is something we would like to have removed.
I think this could be(totally blind guess) an ndodb issue where changes to Nagios are not visible until Nagios acts on them. So even though you made changes in the CCM they are not visible to the CCM until Nagios pushes them into ndodb.
Sorry nothing we can do about that currently. I understand it's hard to edit something that displays stale information. This "feature" effects a number of our endeavors as well so it is something we would like to have removed.
Re: Changes to host or service contacts not staying
The result was that I didn't receive the notification on the contact that I had added.
I just checked and the changes that I made yesterday still don't show up when I look at the contacts in CCM.
I just noticed the following lines when I go into the host in CCM:
Entry cannot be activated because it is used by another configuration:
Relational information for Holly ERS of table tbl_host:
Relation to tbl_contact, entry mkronner - deletion possible
Does the first line above indicate a problem as to why my contact changes may not be saving?
Thanks.
I just checked and the changes that I made yesterday still don't show up when I look at the contacts in CCM.
I just noticed the following lines when I go into the host in CCM:
Entry cannot be activated because it is used by another configuration:
Relational information for Holly ERS of table tbl_host:
Relation to tbl_contact, entry mkronner - deletion possible
Does the first line above indicate a problem as to why my contact changes may not be saving?
Thanks.
Re: Changes to host or service contacts not staying
This might be a typo, should be deactivated. I'm still researching this because that problem was corrected.
Re: Changes to host or service contacts not staying
There is nothing more of that issue.
Re: Changes to host or service contacts not staying
We are aware of problems like this for IE, try using FF.