Hi!
*** This is my first post and therefore I want to say "Thank You!" to the developer of NetXMS for his great work ***
I'm going to use the app. for my final-exam preparation in my apprenticeship at Siemens in Paderborn (Germany).
One task of NetXMS will be to inform the admin about any (already added in NetXMS) PC of the net which has a
CPU usage of more than 80%.
I already know that I can add the usage in "data collection" --> then add a rule in event processing policy editor with
action "SYS_THRESHOLD_REACHED" that send an static text via email to the admin.
Now do I have to do these steps for every host?
I want to do that dynamically that in the mail the hostname will be shown like
"CPU of PC23 is above 80%..."
I just want to have one event for that. Is that possible? How? Other possiblities?
May be a script like message_text="CPU of %hostname% is about cpu.usage(host)" ...
I've never written a script in NetXMS.
Second question:
I have the event SYS_THRESHOLD_REACHED let's say for this CPU monitoring...
If I further want to watch the DiskUsage.. (if it's above 90%)
Do I have to create another new event like this or use another one?
So do I have to create such a event for every "thing" that is watched?
Example:
CPU -> CPU_TOO_HIGH -> action: email "CPU of PC123 too high.."
Disk -> DISK_FULL -> action: "Disk of PC123 too full.."
..
greetings -
Christian.