Pattern-Based Business Rules
Monitor Complex Business Rules with Pattern-Based Alerts
Manufacturing MES integration scenario: Production line publishes machine status events every 15 minutes (MachineID, Status [Running/Idle/Fault], ProductionCount, Timestamp). Business rule: "Alert if any machine idle >60 minutes during business hours (6 AM-10 PM, Mon-Fri) OR production count increase <100 units/hour (expected 200 units/hour) OR any machine fault >5 minutes".
Before Nodinite Non-Events: Operations team manually checks MES dashboard every 2 hours during shift changes (6 AM, 2 PM, 10 PM). Friday 3:15 PM: Machine #7 enters Fault status (bearing overheat sensor triggered). Discovered 5:45 PM during next manual check (2.5 hours later). Production loss: 2.5 hours × 200 units/hour × $15/unit margin = $7,500 revenue impact. Maintenance team: "We could have fixed bearing issue in 20 minutes if alerted immediately".
With Nodinite Non-Events + Complex Rules: Configure 3 separate Non-Events monitors:
"Machine Idle >60 Minutes Alert":
- Log View: "Machine Status Events" (Search Fields: MachineID, Status = "Idle", Timestamp)
- Non-Events rule: Count Machine Status events per MachineID where Status = "Idle", evaluate every 15 minutes, alert if same MachineID has "Idle" status >4 consecutive intervals (4 × 15 min = 60 min), business hours only (Mon-Fri 6 AM-10 PM)
"Low Production Count Alert":
- Log View: "Machine Production Counts" (Search Fields: MachineID, ProductionCount, Timestamp)
- Non-Events rule: Calculate ProductionCount delta per MachineID (current count - previous count), alert if delta <100 units in any 1-hour period (expected 200 units/hour, 50% threshold = investigate), exclude machines in Idle status (legitimate low production)
"Machine Fault Immediate Alert":
- Log View: "Machine Status Events" (Search Fields: MachineID, Status = "Fault", Fault Code, Timestamp)
- Non-Events rule: Alert immediately if any Machine Status event with Status = "Fault" (zero tolerance), escalate to maintenance team pager
Friday 3:15 PM: Machine #7 publishes Status = "Fault" (Fault Code: "BRG_OVERHEAT_07"). 3:16 PM alert fires (1 minute later, next Non-Events evaluation cycle): "Machine Fault Immediate Alert: Machine #7 Fault Status detected (Fault Code BRG_OVERHEAT_07), last production count 3:00 PM 1,847 units". Maintenance team receives pager alert, investigates bearing sensor, replaces bearing 3:34 PM, machine resumes production 3:41 PM. Total downtime: 26 minutes.
Business value: Downtime 26 minutes vs. 2.5 hours = 89% reduction. Production loss: 26 min × 200 units/hour × $15/unit = $1,300 vs. $7,500 = $6,200 revenue saved per incident. If 8 similar incidents/year prevented = $49,600/year revenue protection. Maintenance proactive response (26 min) vs. reactive response (2.5 hours) = improved equipment uptime, reduced emergency maintenance costs.
Next Step
Ready to implement pattern-based monitoring? Start with the Installation Guide to set up the Non-Events Monitoring Agent, then follow the Configuration Guide to create your first multi-condition alert rules.