Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

1,266,425

Downloads of v 2.14.2:

17,247

Last Update:

18 Jan 2024

Package Maintainer(s):

Software Author(s):

  • Icinga GmbH

Tags:

icinga2 icinga agent monitoring admin

Icinga 2

  • 1
  • 2
  • 3

2.14.2 | Updated: 18 Jan 2024

Downloads:

1,266,425

Downloads of v 2.14.2:

17,247

Maintainer(s):

Software Author(s):

  • Icinga GmbH

Icinga 2 2.14.2

  • 1
  • 2
  • 3

Some Checks Are Exempted or Have Failed

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependency requires reboot

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Icinga 2, run the following command from the command line or from PowerShell:

>

To upgrade Icinga 2, run the following command from the command line or from PowerShell:

>

To uninstall Icinga 2, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade icinga2 -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade icinga2 -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install icinga2
  win_chocolatey:
    name: icinga2
    version: '2.14.2'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'icinga2' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.14.2'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller icinga2
{
    Name     = "icinga2"
    Version  = "2.14.2"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'icinga2':
  ensure   => '2.14.2',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 18 Jan 2024.

Description

Icinga is an open source monitoring platform which notifies users about host and service outages.


tools\chocolateyInstall.ps1
$packageName= 'icinga2'
$toolsDir   = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$url = 'https://packages.icinga.com/windows/Icinga2-v2.14.2-x86.msi'
$url64 = 'https://packages.icinga.com/windows/Icinga2-v2.14.2-x86_64.msi'

$packageArgs = @{
  packageName   = $packageName
  fileType      = 'msi'
  url           = $url
  url64bit      = $url64
  silentArgs    = "/qn /norestart"
  validExitCodes= @(0)
  softwareName  = 'Icinga 2*'
  checksum      = '32D40351BF606E22D4968A2246648FC7BA5C563659A34D2025F1E514A62B9D8C'
  checksumType  = 'sha256'
  checksum64    = '8EC21FF197E82945263F63482BD8F280FDFD4E35BD766C0B162B849EF44CD940'
  checksumType64= 'sha256'
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyUninstall.ps1
$packageName = "Icinga 2";
$fileType = 'msi';
$silentArgs = '/qr /norestart'
$validExitCodes = @(0)

$packageGuid = Get-ChildItem HKLM:\SOFTWARE\Classes\Installer\Products |
  Get-ItemProperty -Name 'ProductName' |
  ? { $_.ProductName -like $packageName + "*"} |
  Select -ExpandProperty PSChildName -First 1

$properties = Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\$packageGuid\InstallProperties

$file = $properties.LocalPackage

# Would like to use the following, but looks like there is a bug in this method when uninstalling MSI's
# Uninstall-ChocolateyPackage $packageName $fileType $silentArgs $file -validExitCodes $validExitCodes

# Use this instead
$msiArgs = "/x $file $silentArgs";
Start-ChocolateyProcessAsAdmin "$msiArgs" 'msiexec' -validExitCodes $validExitCodes

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Icinga 2 2.14.1 698 Thursday, December 21, 2023 Approved
Icinga 2 2.14.0 4023 Wednesday, July 12, 2023 Approved
Icinga 2 2.13.9 21 Thursday, December 21, 2023 Approved
Icinga 2 2.13.8 24 Wednesday, July 12, 2023 Approved
Icinga 2 2.13.7 3890 Thursday, February 16, 2023 Approved
Icinga 2 2.13.6 13652 Tuesday, November 8, 2022 Approved
Icinga 2 2.13.5 41147 Thursday, August 11, 2022 Approved
Icinga 2 2.13.4 67869 Thursday, June 30, 2022 Approved
Icinga 2 2.13.3 168180 Thursday, April 14, 2022 Approved
Icinga 2 2.13.1 801577 Thursday, August 19, 2021 Approved
Icinga 2 2.13.0 3540 Tuesday, August 3, 2021 Approved
Icinga 2 2.12.9 63 Thursday, June 30, 2022 Approved
Icinga 2 2.12.8 51 Thursday, April 28, 2022 Approved
Icinga 2 2.12.7 46 Thursday, April 14, 2022 Exempted
Icinga 2 2.12.6 73 Thursday, August 19, 2021 Approved
Icinga 2 2.12.5 4292 Thursday, July 15, 2021 Approved
Icinga 2 2.12.4 2152 Thursday, May 27, 2021 Approved
Icinga 2 2.12.3 2463 Tuesday, December 15, 2020 Approved
Icinga 2 2.12.2 606 Tuesday, December 1, 2020 Approved
Icinga 2 2.12.1 935 Thursday, October 15, 2020 Approved
Icinga 2 2.12.0 2140 Wednesday, August 5, 2020 Approved
Icinga 2 2.11.11 64 Thursday, August 19, 2021 Approved
Icinga 2 2.11.10 82 Thursday, July 15, 2021 Approved
Icinga 2 2.11.9 95 Thursday, May 27, 2021 Approved
Icinga 2 2.11.8 115 Tuesday, December 15, 2020 Approved
Icinga 2 2.11.7 84 Tuesday, December 1, 2020 Approved
Icinga 2 2.11.6 129 Friday, October 16, 2020 Approved
Icinga 2 2.11.5 237 Wednesday, August 5, 2020 Approved
Icinga 2 2.11.4 2004 Thursday, June 18, 2020 Approved
Icinga 2 2.11.3 3643 Wednesday, March 4, 2020 Approved
Icinga 2 2.11.2 26724 Thursday, October 24, 2019 Approved
Icinga 2 2.11.1 2009 Sunday, October 20, 2019 Approved
Icinga 2 2.11.0 890 Thursday, October 10, 2019 Approved
Icinga 2 2.10.5 47849 Thursday, May 23, 2019 Approved
Icinga 2 2.10.4 1475 Tuesday, March 19, 2019 Approved
Icinga 2 2.10.3 828 Tuesday, February 26, 2019 Approved
Icinga 2 2.10.2 2010 Wednesday, November 14, 2018 Approved
Icinga 2 2.10.1 1343 Thursday, October 18, 2018 Approved
Icinga 2 2.10.0 734 Monday, October 15, 2018 Approved
Icinga 2 2.9.0 1341 Wednesday, July 18, 2018 Approved
Icinga 2 2.8.4 1852 Wednesday, April 25, 2018 Approved
Icinga 2 2.8.2 3314 Thursday, March 22, 2018 Approved
Icinga 2 2.8.1 20137 Wednesday, January 17, 2018 Approved
Icinga 2 2.7.2 912 Thursday, November 9, 2017 Approved
Icinga 2 2.7.1 814 Thursday, September 21, 2017 Approved
Icinga2 2.6.3 1525 Thursday, March 30, 2017 Approved
Icinga2 2.6.2 827 Monday, February 13, 2017 Approved
Icinga2 2.6.1 561 Tuesday, January 31, 2017 Approved
Icinga2 2.6.0 612 Tuesday, December 13, 2016 Approved
Icinga2 2.5.4 1121 Wednesday, August 31, 2016 Approved
Icinga2 2.4.10 738 Monday, June 27, 2016 Approved
Icinga2 2.4.8 545 Tuesday, May 17, 2016 Approved
Icinga2 2.4.7 578 Thursday, April 21, 2016 Approved
Icinga2 2.4.4 632 Friday, March 18, 2016 Approved
Icinga2 2.4.3 579 Monday, March 7, 2016 Approved
Icinga2 2.4.1 897 Tuesday, December 15, 2015 Approved
Icinga2 2.4.0 474 Monday, November 16, 2015 Approved
Icinga2 2.3.8 598 Monday, July 20, 2015 Approved
Icinga2 2.3.6 440 Wednesday, July 8, 2015 Approved
Icinga2 2.3.5 435 Thursday, June 18, 2015 Approved
Icinga2 2.3.4 1255 Monday, May 4, 2015 Approved
Icinga2 2.3.2 469 Monday, May 4, 2015 Approved
Icinga2 2.3.0 492 Monday, May 4, 2015 Approved
Discussion for the Icinga 2 Package

Ground Rules:

  • This discussion is only about Icinga 2 and the Icinga 2 package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Icinga 2, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus