One check has one result which creates one notification.
Thus: don't make multiple tests in one check but create multiple checks if you need separate results and notifications...
-Gerald On 06.06.16 11:51, Meti, Shantala (NFV BU) wrote:
Hi, Even I have the same requirement but could not find any relevant information in documents. Thanks & Regards Shantala *From:*icinga-users [mailto:[email protected]] *On Behalf Of *Tejas Gadaria *Sent:* Monday, May 30, 2016 10:44 AM *To:* Icinga User's Corner <[email protected]> *Subject:* [icinga-users] Multiple Alarm for Single plugin Hello All, I am trying to monitor remote host with Icinga,using agentless check (ssh). We have written custom plugin to monitor the remote host memory. Plugin should be copied to remote host and executed, in order to get the memory stats. We have certain threshold defined for each metric, based on that we are able trigger alarm. However *1) We are able to trigger only one alarm per plugin. (Because we have multiple metrics define in one plugin (memory). It is kind of limitation for us) Is there a way to generate multiple alarm per plugin. ? * Plugin Output alarmtext:Memory is full:specifiProblem:111111:alarmType:environmentalAlarm:probableCause:ooutOfMemory: Free MEMORY OK - 71% free (2647 MB out of 3705 MB) Swap MEMORY OK - 100% free (8197 MB out of 8197 MB) Inactive MEMORY OK - 372 MB Active MEMORY OK - 483 MB Buffer MEMORY OK - 372 MB Cache MEMORY OK - 498 MB si MEMORY OK - 0 amount of memory swapped in from disk so MEMORY OK - 0 amount of memory swapped to disk *_Note:_* *With All Above memory metrics, we are able generate only one (not individual metric) alarm (Critical, Warning, OK). Are we missing something.? OR please suggest how can we achieve this.* Thanks, Tejas _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
