This commit is contained in:
St0bsel 2025-04-03 11:46:47 +02:00 committed by GitHub
commit b6572febe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

19
azure-pipelines.yml Normal file
View file

@ -0,0 +1,19 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'

View file

@ -472,7 +472,7 @@ sub node_to_item {
}
# Set storage type to Delta for MIB counter types
if ( $node->{ type } ~~ ['COUNTER', 'COUNTER32', 'COUNTER64']) {
if ( $node->{ type } eq 'COUNTER' || $node->{ type } eq 'COUNTER32' || $node->{ type } eq 'COUNTER64' ) {
$item->{ delta } = ZBX_ITEM_STORE_SPEED;
if ($item->{ units } =~ /^s$/) {