Merge cb30bd68a6 into b4e866ef66
This commit is contained in:
commit
b6572febe5
2 changed files with 20 additions and 1 deletions
19
azure-pipelines.yml
Normal file
19
azure-pipelines.yml
Normal 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'
|
||||
|
|
@ -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$/) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue