From: W.J.M. N. <Wim...@nl...> - 2016-01-26 13:06:11
|
Hello Steve, >> any ideas on this one? I am monitoring 2 IBM UPS devices (per site) and >> testing temperature/humidity snmp monitoring which gives results if probe >> is installed. So I have a temp check, battery capacity and power. When the >> probe is installed, I have results for all these checks but if I remove the >> probe, the temp check gives unknown as entries and this spreads to the >> other checks for that host with the dreaded "No SNMP data found for...." in >> the logs so I get white faces and greens with barely any results (there are >> a few). > Unfortunately I have seen the 'No SNMP data found' quite a lot. > > "Are the variables in the templates in use linked with one another > somehow?" > > Do the oid names have to be different for every template (if the oids > themselves are different). Is this something I could use to look into why > this is happening. Just seems a shame that none of the checks for that host > don't work if the probe is not present. I am looking into making an > alternate template for probe present but it's a massive cleanup job, I have > over 3k hosts world wide. > No, the OID names are so to say 'local to the template'. However, your complaint is about various tests within the same template. Form the documentation file called TEMPLATES: Also important to note is that OIDs are shared between tests on the same template. So if you specify OID aliases with identical names (they are case sensitive, remember) in multiple tests in a template, there is only going to be a single value stored in memory, which both OID aliases point to. The upshot of this is, if you use the same OID alias in multiple tests (and this is recommended, as it will make your template run faster), then they *MUST* have the numeric OID value. If they dont, you are going to get inconsistent results, as the value stored in memory might arbitrarily be from one SNMP variable or another. To rephrase my question: do you have OIDs in the various tests with the same name while they represent different things? Regards, Wim Nelis. |