Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12868] Icinga2 Agent - check windows update #4720

Closed
icinga-migration opened this issue Oct 7, 2016 · 4 comments · Fixed by #6480
Closed

[dev.icinga.com #12868] Icinga2 Agent - check windows update #4720

icinga-migration opened this issue Oct 7, 2016 · 4 comments · Fixed by #6480
Labels
area/windows Windows agent and plugins enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12868

Created by RogerSik on 2016-10-07 07:44:57 +00:00

Assignee: RogerSik
Status: Feedback
Target Version: (none)
Last Update: 2016-12-07 20:28:56 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Hello,

could it be possible to extend the check windows update with an argument, how much updates have to been installed to show it as warning / critical?

@icinga-migration
Copy link
Author

Updated by jflach on 2016-10-07 12:16:29 +00:00

  • Status changed from New to Feedback
  • Assigned to set to RogerSik

That would be quite possible, but it'd be cruft. (Either a mode switch or more and more arguments with similar, but exclusive, functionality)

You could write that check yourself though, run check_updates.exe and parse the output.

@icinga-migration
Copy link
Author

Updated by RogerSik on 2016-10-08 08:01:02 +00:00

Yes I could do it on my own but then only I had this functionality. I think the best would be when everyone who wants it has this functionality. In others check scripts is normal that there are -critical and -warning arguments (like check_http, check_tcp).

In which language is check_updates.exe written? Could I modify this exe?

@icinga-migration
Copy link
Author

Updated by RogerSik on 2016-10-10 14:09:03 +00:00

Or it could be possible to show Warning instead of Critical?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-12-07 20:28:56 +00:00

check_updates.exe is part of the Icinga 2 Windows package, so it's written in C**.
https://github.com/Icinga/icinga2/blob/master/plugins/check\_update.cpp

If you're interested in building that on Windows after developing additional features, check this blog post.
https://blog.netways.de/2015/08/24/developing-icinga-2-on-windows-10-using-visual-studio-2015/

@icinga-migration icinga-migration added needs feedback We'll only proceed once we hear from you again enhancement New feature or request Plugins labels Jan 17, 2017
@dnsmichi dnsmichi added help wanted Extra attention is needed and removed needs feedback We'll only proceed once we hear from you again labels Jun 8, 2017
ajaffie added a commit to ajaffie/icinga2 that referenced this issue Jul 24, 2018
ajaffie added a commit to ajaffie/icinga2 that referenced this issue Jul 24, 2018
ajaffie added a commit to ajaffie/icinga2 that referenced this issue Jul 24, 2018
ajaffie added a commit to ajaffie/icinga2 that referenced this issue Jul 27, 2018
mcktr pushed a commit to ajaffie/icinga2 that referenced this issue Oct 23, 2018
@dnsmichi dnsmichi added this to the 2.11.0 milestone Nov 13, 2018
@dnsmichi dnsmichi added the area/windows Windows agent and plugins label May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows Windows agent and plugins enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants