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-perfdata
OK: Number of current processes running: 4
Process '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-perfdata
OK: Number of current processes running: 4
Process '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
