NCPA - Configuring Passive Check
Posted: Wed Jan 13, 2016 6:58 am
Hi
I'm a Nagios XI and NCPA newbie.
I would like to conifgure a NCPA passive check.
We are using Nagios XI 5.2.3 and NPCA 1.8.1.
Plugin used (https://exchange.nagios.org/directory/P ... ll/details)
When I run the plugin check_windows_updates.ps1 as https://localhost:5693/api/agent/plugin ... pdates.ps1 I get the result below:
{
"value": {
"returncode": 2,
"stdout": "Updates: 11 critical, 0 optional\nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3124000) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3108664) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3109560) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3110329) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3121918) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3121212) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3124001) \nCumulative Security Update for Internet Explorer 11 for Windows Server 2008 R2 for x64-based Systems (KB3124275) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3123479) \nWindows Malicious Software Removal Tool x64 - January 2016 (KB890830) \nDefinition Update for Microsoft Endpoint Protection - KB2461484 (Definition 1.213.2668.0)"
}
}
But I can't make it this output via NRDP to Nagios XI.
Thank you in advance for your help.
I'm a Nagios XI and NCPA newbie.
I would like to conifgure a NCPA passive check.
We are using Nagios XI 5.2.3 and NPCA 1.8.1.
Plugin used (https://exchange.nagios.org/directory/P ... ll/details)
When I run the plugin check_windows_updates.ps1 as https://localhost:5693/api/agent/plugin ... pdates.ps1 I get the result below:
{
"value": {
"returncode": 2,
"stdout": "Updates: 11 critical, 0 optional\nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3124000) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3108664) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3109560) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3110329) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3121918) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3121212) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3124001) \nCumulative Security Update for Internet Explorer 11 for Windows Server 2008 R2 for x64-based Systems (KB3124275) \nSecurity Update for Windows Server 2008 R2 x64 Edition (KB3123479) \nWindows Malicious Software Removal Tool x64 - January 2016 (KB890830) \nDefinition Update for Microsoft Endpoint Protection - KB2461484 (Definition 1.213.2668.0)"
}
}
But I can't make it this output via NRDP to Nagios XI.
Thank you in advance for your help.