Menu

#13 Thresholds remain undefined

open
nobody
Devmon (2)
5
2011-08-30
2011-08-30
Wim Nelis
No

If an OID is used in tests (templates) called A and B, and in test A no thresholds are defined for the OID, but in test B thresholds are defined for the OID, the thresholds are unknown to Devmon when performing test B. Thus no alerts will be triggered, and displaying the threshold value in the status message will show value 'undefined'.

This behaviour is caused by an optimisation of Devmon, module dm_tests.pm. The tests are performed in sorted order. During test A, the OID will get defined in a cache (hash %oids). During test B, the presence of the OID in the cache will inhibit retrieval of the thresholds defined in test B.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.