Skip to main content

    Filter by idea status

    Filter by product

    629 Ideas

    Luth1ngSteward *

    Generic SNMP plugin with multi mode : allow outputs from different statesNeeds Votes

    Hello,I am trying to use as much I can the centreon plugins feature instead of creating new ones.I would like to use multi modes to get an output with a string-value and a numeric value.This is working great if the two modes are getting the same status, but if one value has a higher criticity, **it overrides all the output**.Example :- Both mode status is OK :```/usr/lib/centreon/plugins/centreon_generic_snmp.pl \--plugin=apps::protocols::snmp::plugin \--mode=multi \--modes-exec=string-value,numeric-value \[...]--option-mode='string-value,--oid=1.3.6.1.4.1...6' \--option-mode='numeric-value,--oid=1.3.6.1.4.1...6' \--option-mode='string-value,--format-ok=%{details_ok}' \--option-mode='string-value,--format-details-ok="my string-value is: %{value}"' \--option-mode='string-value,--format-warning=%{details_warning}' \--option-mode='string-value,--format-details-warning="my string-value is: %{value}"' \--option-mode='string-value,--format-critical=%{details_critical}' \--option-mode='string-value,--format-details-critical="my string-value is: %{value}"' \--option-mode='string-value,--format-unknown=%{details_unknown}' \--option-mode='string-value,--format-details-unknown="my string-value is: %{value}"' \--option-mode='numeric-value,--perfdata-name=myCounter' \--option-mode='numeric-value,--format="my numerical-value is: %s"' \--option-mode='numeric-value,--perfdata-min=0' \OK: "my string-value is: abcdefg" - "my numerical-value is: 1234" | 'myCounter'=1234;;;0;```- Both mode status is WARNING :```/usr/lib/centreon/plugins/centreon_generic_snmp.pl \--plugin=apps::protocols::snmp::plugin \--mode=multi \--modes-exec=string-value,numeric-value \[...]--option-mode='string-value,--oid=1.3.6.1.4.1...6' \--option-mode='numeric-value,--oid=1.3.6.1.4.1...6' \--option-mode='string-value,--format-ok=%{details_ok}' \--option-mode='string-value,--format-details-ok="my string-value is: %{value}"' \--option-mode='string-value,--format-warning=%{details_warning}' \--option-mode='string-value,--format-details-warning="my string-value is: %{value}"' \--option-mode='string-value,--format-critical=%{details_critical}' \--option-mode='string-value,--format-details-critical="my string-value is: %{value}"' \--option-mode='string-value,--format-unknown=%{details_unknown}' \--option-mode='string-value,--format-details-unknown="my string-value is: %{value}"' \--option-mode='string-value,--warning-regexp=.*' \--option-mode='numeric-value,--perfdata-name=myCounter' \--option-mode='numeric-value,--format="my numerical-value is: %s"' \--option-mode='numeric-value,--perfdata-min=0' \--option-mode='numeric-value,--warning=~:1'WARNING: "my string-value is: abcdefg" - "my numerical-value is: 1234" | 'myCounter'=1234;~:1;;0;```- Only string-value status is WARNING, numerical-value status is OK :```/usr/lib/centreon/plugins/centreon_generic_snmp.pl \--plugin=apps::protocols::snmp::plugin \--mode=multi \--modes-exec=string-value,numeric-value \[...]--option-mode='string-value,--oid=1.3.6.1.4.1...6' \--option-mode='numeric-value,--oid=1.3.6.1.4.1...6' \--option-mode='string-value,--format-ok=%{details_ok}' \--option-mode='string-value,--format-details-ok="my string-value is: %{value}"' \--option-mode='string-value,--format-warning=%{details_warning}' \--option-mode='string-value,--format-details-warning="my string-value is: %{value}"' \--option-mode='string-value,--format-critical=%{details_critical}' \--option-mode='string-value,--format-details-critical="my string-value is: %{value}"' \--option-mode='string-value,--format-unknown=%{details_unknown}' \--option-mode='string-value,--format-details-unknown="my string-value is: %{value}"' \--option-mode='string-value,--warning-regexp=.*' \--option-mode='numeric-value,--perfdata-name=myCounter' \--option-mode='numeric-value,--format="my numerical-value is: %s"' \--option-mode='numeric-value,--perfdata-min=0'WARNING: "my string-value is: abcdefg" | 'myCounter'=1234;;;0;```- Only numerical-value status is WARNING, string-value status is OK :```/usr/lib/centreon/plugins/centreon_generic_snmp.pl \--plugin=apps::protocols::snmp::plugin \--mode=multi \--modes-exec=string-value,numeric-value \[...]--option-mode='string-value,--oid=1.3.6.1.4.1...6' \--option-mode='numeric-value,--oid=1.3.6.1.4.1...6' \--option-mode='string-value,--format-ok=%{details_ok}' \--option-mode='string-value,--format-details-ok="my string-value is: %{value}"' \--option-mode='string-value,--format-warning=%{details_warning}' \--option-mode='string-value,--format-details-warning="my string-value is: %{value}"' \--option-mode='string-value,--format-critical=%{details_critical}' \--option-mode='string-value,--format-details-critical="my string-value is: %{value}"' \--option-mode='string-value,--format-unknown=%{details_unknown}' \--option-mode='string-value,--format-details-unknown="my string-value is: %{value}"' \--option-mode='string-value,--warning-regexp=.*' \--option-mode='numeric-value,--perfdata-name=myCounter' \--option-mode='numeric-value,--format="my numerical-value is: %s"' \--option-mode='numeric-value,--perfdata-min=0' \--option-mode='numeric-value,--warning=1'WARNING: "my numerical-value is: 1234" | 'myCounter'=1234;~:1;;0;```What I would like is to keep all the outputs even if the other mode status is different, but of course return only the status with the higher criticity.Could you add this enhancement please?CheersLuth1ng 

    Jaroslaw KesySteward **

    WIndows SNMP connector: extended output for "processcount" mode.Needs Votes

    Hello, Initially I created a ticket for this. But Centreon Customer Care Team stated that this is more a request than a bug and suggested to create a new idea topic. This should be a low-hanging fruit goal.The extended info output returned from Windows SNMP plugin in “processcount” mode is kind of messy. For each matching process the attributes for path, status and name are displayed every time in a different order. Please, examine the example below. Every time the check is executed the mentioned attributes are “randomly” ordered. IMHO it should be displayed in the same order every time.root@hostname:~ # /usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=processcount --hostname=192.168.1.100 --snmp-version='2c' --snmp-community='public'  --process-name='(?i).*' --process-path='(?i)enovia' --process-args='' --regexp-name --regexp-path --regexp-args --warning='' --critical='1:' --verbose --output-ignore-perfdataOK: Number of current processes running: 4Process '6788' [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\] [name: orbixd.exe] [status: running]Process '9744' [status: running] [name: VPMVaultStarter.exe] [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\]Process '9020' [status: running] [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\] [name: runOrbixSvc.exe]Process '8712' [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\] [name: CATSTART.exe] [status: running]root@hostname:~ # /usr/lib/centreon/plugins/centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=processcount --hostname=192.168.1.100 --snmp-version='2c' --snmp-community='public'  --process-name='(?i).*' --process-path='(?i)enovia' --process-args='' --regexp-name --regexp-path --regexp-args --warning='' --critical='1:' --verbose --output-ignore-perfdataOK: Number of current processes running: 4Process '9020' [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\] [status: running] [name: runOrbixSvc.exe]Process '6788' [name: orbixd.exe] [status: running] [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\]Process '8712' [name: CATSTART.exe] [status: running] [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\]Process '9744' [path: D:\app\enovia\enovia_v5r2022_P\win_b64\code\bin\] [name: VPMVaultStarter.exe] [status: running]Best regards,Jaroslaw Kesy

    joschi99Steward **

    PaloAlto: missing mode for raid statusNeeds Votes

    if you have a PA with physical disks it should be nice to have a mode to monitor the raid/disk status using SSHexample with configured raid and failed diskshow system raid detailOverall System Drives RAID status Good--------------------------------------------------------------------------------Drive status Disk id Sys1 Present (Micron_5300_MTFD) Disk id Sys2 Present (Micron_5300_MTFD)--------------------------------------------------------------------------------Partition statuspanlogs clean Drive id Sys1 active sync Drive id Sys2 active syncmaint clean Drive id Sys1 active sync Drive id Sys2 active syncsysroot0 clean Drive id Sys1 active sync Drive id Sys2 active syncsysroot1 active Drive id Sys1 active sync Drive id Sys2 active syncpancfg clean Drive id Sys1 active sync Drive id Sys2 active syncpanrepo clean Drive id Sys1 active sync Drive id Sys2 active syncswap clean Drive id Sys1 active sync Drive id Sys2 active syncLogging Drives RAID status--------------------------------------------------------------------------------Disk Pair Log Available Status clean, degraded Disk id Log1 Present model : ST2000NX0253 size : 1907729 MB status : active sync Disk id Log2 Present model : ST2000NX0253 size : 1907729 MB status : failedAs you can see in this ecample Disk id Log2 has status failed and Disk Pair Log is Available, but degraded.Further information you can find here: https://docs.paloaltonetworks.com/wildfire/9-0/wildfire-admin/use-the-wildfire-appliance-cli/wildfire-appliance-operational-mode-command-reference/show-system-raid.html https://github.com/centreon/centreon-plugins/issues/3573

    joschi99Steward **

    Cisco IOS: new mode to monitor uptime on single device for a cisco stackNeeds Votes

    If you have a Cisco stack monitoring the uptime using snmp show's only the uptime for the complete stack. Monitoring the uptime from any single stack member could allow to find out spontaneous reboot ecc. But this information is available only using SSH:BS-A-S01#show versionCisco IOS XE Software, Version 16.06.01Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.1, RELEASE SOFTWARE (fc2)Technical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2017 by Cisco Systems, Inc.Compiled Sat 22-Jul-17 05:51 by mcpreCisco IOS-XE software, Copyright (c) 2005-2017 by cisco Systems, Inc.All rights reserved. Certain components of Cisco IOS-XE software arelicensed under the GNU General Public License ("GPL") Version 2.0. Thesoftware code licensed under GPL Version 2.0 is free software that comeswith ABSOLUTELY NO WARRANTY. You can redistribute and/or modify suchGPL code under the terms of GPL Version 2.0. For more details, see thedocumentation or "License Notice" file accompanying the IOS-XE software,or the applicable URL provided on the flyer accompanying the IOS-XEsoftware.ROM: IOS-XE ROMMONBOOTLDR: System Bootstrap, Version 16.6.1r [FC1], RELEASE SOFTWARE (P)BS-A-S01 uptime is 27 weeks, 2 days, 21 hours, 2 minutesUptime for this control processor is 27 weeks, 2 days, 21 hours, 4 minutesSystem returned to ROM by Power FailureSystem image file is "flash:packages.conf"Last reload reason: Power FailureThis product contains cryptographic features and is subject to UnitedStates and local country laws governing import, export, transfer anduse. Delivery of Cisco cryptographic products does not implythird-party authority to import, export, distribute or use encryption.Importers, exporters, distributors and users are responsible forcompliance with U.S. and local country laws. By using this product youagree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.A summary of U.S. laws governing Cisco cryptographic products may be found at:http://www.cisco.com/wwl/export/crypto/tool/stqrg.htmlIf you require further assistance please contact us by sending email toexport@cisco.com.Technology Package License Information:-----------------------------------------------------------------Technology-package Technology-packageCurrent Type Next reboot------------------------------------------------------------------network-essentials Permanent network-essentialsdna-essentials Subscription dna-essentialscisco C9300-24UX (X86) processor with 868521K/6147K bytes of memory.Processor board ID FCW2141L01L3 Virtual Ethernet interfaces8 Gigabit Ethernet interfaces64 Ten Gigabit Ethernet interfaces4 Forty Gigabit Ethernet interfaces2048K bytes of non-volatile configuration memory.8388608K bytes of physical memory.1638400K bytes of Crash Files at crashinfo:.1638400K bytes of Crash Files at crashinfo-2:.11264000K bytes of Flash at flash:.11264000K bytes of Flash at flash-2:.0K bytes of WebUI ODM Files at webui:.Base Ethernet MAC Address : ec:1d:8b:0a:27:80Motherboard Assembly Number : 73-17958-06Motherboard Serial Number : FOC21374JNEModel Revision Number : A0Motherboard Revision Number : A0Model Number : C9300-24UXSystem Serial Number : FCW2141L01LSwitch Ports Model SW Version SW Image Mode------ ----- ----- ---------- ---------- ----* 1 38 C9300-24UX 16.6.1 CAT9K_IOSXE INSTALL2 38 C9300-24UX 16.6.1 CAT9K_IOSXE INSTALLSwitch 02---------Switch uptime : 27 weeks, 2 days, 21 hours, 1 minuteBase Ethernet MAC Address : ec:1d:8b:0a:2b:80Motherboard Assembly Number : 73-17958-06Motherboard Serial Number : FOC21374JPSModel Revision Number : A0Motherboard Revision Number : A0Model Number : C9300-24UXSystem Serial Number : FCW2141L028Configuration register is 0x102Could you add a new mode to monitor the uptime for any stack member?