Sounds good, i've escalated the info to my upper-management, and when we upgrade i'll run the command again and update the thread with the results.
For now, thanks again!
REST API - Delete Method not working for HostGroup
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: REST API - Delete Method not working for HostGroup
Sounds good!scomdco wrote:Sounds good, i've escalated the info to my upper-management, and when we upgrade i'll run the command again and update the thread with the results.
For now, thanks again!
Re: REST API - Delete Method not working for HostGroup
Management has some questions in regards to the upgrade that i hope you could help me answer, please see below:
Any insight is appreciated!
1. Will upgrading the Nagios version wipe-out/overwrite any performance/metrics data that is currently collected for any of our host/services?
We have our service checks configured to have Retain Status information, Retain non-status information, and Process perf data set to either On or Skip
2. When upgrading Nagios, what data IS overwritten/modified? Is it just core system files, or will configuration or plugin files get touched as well?
3. This is somewhat related to question 2, but have their been known issues of core plugins breaking because of upgrades? Like because of the plugins not being compatible with a new version or something similar to that scenario.
Any insight is appreciated!
1. Will upgrading the Nagios version wipe-out/overwrite any performance/metrics data that is currently collected for any of our host/services?
We have our service checks configured to have Retain Status information, Retain non-status information, and Process perf data set to either On or Skip
2. When upgrading Nagios, what data IS overwritten/modified? Is it just core system files, or will configuration or plugin files get touched as well?
3. This is somewhat related to question 2, but have their been known issues of core plugins breaking because of upgrades? Like because of the plugins not being compatible with a new version or something similar to that scenario.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: REST API - Delete Method not working for HostGroup
No it will notscomdco wrote:1. Will upgrading the Nagios version wipe-out/overwrite any performance/metrics data that is currently collected for any of our host/services?
We have our service checks configured to have Retain Status information, Retain non-status information, and Process perf data set to either On or Skip
The php files in the nagiosxi directory, Nagios Core is upgraded to a newer version and the config wizards and components are updated.scomdco wrote:2. When upgrading Nagios, what data IS overwritten/modified? Is it just core system files, or will configuration or plugin files get touched as well?
The base nagios-plugins are not updated in this version however there are a few plugins that are updated that are included for the wizards for some bug fixes.scomdco wrote:3. This is somewhat related to question 2, but have their been known issues of core plugins breaking because of upgrades? Like because of the plugins not being compatible with a new version or something similar to that scenario.
As far as we know there are no breaking changes.
Re: REST API - Delete Method not working for HostGroup
The quick response is much appreciated,
With these questions answered i should be able to perform the upgrade soon, as stated before i'll be updating the thread with the results of running the command again post-update.
With these questions answered i should be able to perform the upgrade soon, as stated before i'll be updating the thread with the results of running the command again post-update.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: REST API - Delete Method not working for HostGroup
sounds good!scomdco wrote:The quick response is much appreciated,
With these questions answered i should be able to perform the upgrade soon, as stated before i'll be updating the thread with the results of running the command again post-update.
Re: REST API - Delete Method not working for HostGroup
I'm happy to report that the upgrade was successful and resolved the issue of the hostgroup API call not working.
This thread can be marked as resolved!
Here's the output of the call:
This thread can be marked as resolved!
Here's the output of the call:
Code: Select all
StatusCode : 200
StatusDescription : OK
Content : {
"success": "Removed host groups from the system. Config imported but not yet applied.",
"hostgroups": [
"ACS_2019.5.385037"
],
"failed": [
]
}
RawContent : HTTP/1.1 200 OK
Access-Control-Allow-Orgin: *
Access-Control-Allow-Methods: *
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 182
Content-Type: application/json
Date: Mon,...
Forms : {}
Headers : {[Access-Control-Allow-Orgin, *], [Access-Control-Allow-Methods, *], [Keep-Alive, timeout=5, max=100], [Connection, Keep-Alive]...}
Images : {}
InputFields : {}
Links : {}
ParsedHtml : System.__ComObject
RawContentLength : 182-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: REST API - Delete Method not working for HostGroup
scomdco wrote:I'm happy to report that the upgrade was successful and resolved the issue of the hostgroup API call not working.
This thread can be marked as resolved!
Here's the output of the call:Code: Select all
StatusCode : 200 StatusDescription : OK Content : { "success": "Removed host groups from the system. Config imported but not yet applied.", "hostgroups": [ "ACS_2019.5.385037" ], "failed": [ ] } RawContent : HTTP/1.1 200 OK Access-Control-Allow-Orgin: * Access-Control-Allow-Methods: * Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Length: 182 Content-Type: application/json Date: Mon,... Forms : {} Headers : {[Access-Control-Allow-Orgin, *], [Access-Control-Allow-Methods, *], [Keep-Alive, timeout=5, max=100], [Connection, Keep-Alive]...} Images : {} InputFields : {} Links : {} ParsedHtml : System.__ComObject RawContentLength : 182
Great!
Locking thread