TECHZEN Zenoss User Community ARCHIVE  

Generate Alert

Subject: Generate Alert
Author: [Not Specified]
Posted: 2016-10-24 14:40

Hi everyone,

in my Enterprise we work with Zenoss 3.2.1 and I have some questions.

First, how can I create alerts to monitoring the memory usage of my server

Second, Can Iconfigurate an alert to let me know when a server is full

Thanks.



Subject: Wow! 3.2.1 is way old but it
Author: Jane Curry
Posted: 2016-10-25 06:47

Wow! 3.2.1 is way old but it was a very stable release at the time. You might consider upgrading 4.2.5 with update 671. Zenoss 5 is a much bigger step and there is no good upgrade path.

That said, if you want to monitor memory usage on a server, the default Device template for /Server/Linux device class uses SNMP to get memory information. Any device you have put in this class or a subclass of /Server/Linux is likely already monitoring memory and drawing you graphs. However, this template does not have a threshold defined for it out-of-the-box.

I would suggest you start from a device that already uses this template and then create a local copy for a test device. Add a threshold to that local copy and check that an event is raised when your threshold is exceeded.

To create an "alert" - and I guess you mean something like an email - you need to setup an alerting rule for the user that you want to receive the alert; it will be driven by the event that your threshold creates. You can find some help in my Event Management paper here -https://www.skills-1st.co.uk/papers/jane/zenoss_event_management_paper.pdf . Make sure you get the old version - the mechanism for creating alerts changed significantly with Zenoss 4 (much more flexible now).

Not sure what you mean by asking for an alert "when a server is full" If you mean disk space, same should apply. Any server that supports SNMP should already be collecting information about filesystems and there is a standard FileSystem component template for /Server/Linux which should be collecting data; this template does already have a high disk usage threshold.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



< Previous
Zenrender not starting
  Next
(Resolved) Using Zenoss JSON API How Do I Pull a List of Device Classes?
>