Daniel Swarbrick

Results 298 comments of Daniel Swarbrick

It looks like you're going to have to override the types for several of the metrics: ``` vDeviceDescription{vDeviceDescription="0x4F454F"} 1 vDeviceType{vDeviceType="0x4F454F"} 1 vFactoryDate{vFactoryDate="0x323032312F30392F3130"} 1 vHardwareVerion{vHardwareVerion="0x4856312E30312E3031"} 1 vSerialNumber{vSerialNumber="0x31313231303830303034363531313137"} 1 vSoftwareVerion{vSoftwareVerion="0x5356332E30312E3138"} 1 ```...

@jsfrerot My personal opinion is that snmp_exporter actually _shouldn't_ ship with any vendor-specific config, since the amount of SNMP-capable hardware out there is virtually limitless, and as you've found out...

Alertmanager itself cannot perform queries, however Prometheus can perform queries within templates. See https://prometheus.io/docs/prometheus/latest/configuration/template_reference/#queries Using that, you could write an alerting rule which included the additional values that you want...

> Thx, but some time it's gig or bytes, result as space left.. .sample: {VALUE |HUMANIZE1024}M= 5 giM.... Try `{value | humanize1024}B`. The humanize / humanize1024 functions are only intended...

> Where can I find a sample " perform queries within templates." ? https://prometheus.io/docs/prometheus/latest/configuration/template_examples/#display-one-value > I’ve spent several days trying to understand how templates work but alway It's existing integrations...

Below is an adaptation of a generic disk space rule that I've used in production for monitoring a few thousand hosts of various types / role. ```yaml - alert: NodeDiskSpaceCritical...

Have you considered using a single template, but with conditional logic based on the value of the severity label?

Your time interval syntax is incorrect. `location` is not a list item, it is a key. So, your first example should instead be: ```yaml time_intervals: - name: offhours time_intervals: -...

Can you verify that the config has been ingested as expected with `amtool config show` ?