Example for monitoring plugin configuration

by using process_mon.
Small personal vindication. I thought that his problem was that "file" wasn't indented below "details." Was that it or were there other problems with his file syntax?

Thanks,

Maria

From: Robert Chiniquy <notifications@github.com<mailto:notifications@github.com>>
Reply-To: virgo-agent-toolkit/rackspace-monitoring-agent <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Monday, August 18, 2014 4:05 PM
To: virgo-agent-toolkit/rackspace-monitoring-agent <rackspace-monitoring-agent@noreply.github.com<mailto:rackspace-monitoring-agent@noreply.github.com>>
Subject: Re: [rackspace-monitoring-agent] Example for monitoring plugin configuration (#584)


In examples/rackspace_monitoring_agent.conf.d/znc_process_monitoring_plugin.yaml:

> +#    https://github.com/racker/rackspace-monitoring-agent-plugins-contrib/blob/master/process_mon.sh
> +# This example is monitoring a process with "znc" in its name.
> +type: agent.plugin
> +label: ZNC process
> +disabled: false
> +period: 60
> +timeout: 30
> +details:
> +    file: process_mon.sh
> +    args: [znc]
> +alarms:
> +    znc-running:
> +        label: ZNC running
> +        notification_plan_id: npTechnicalContactsEmail
> +        criteria: |
> +            if (metric['process_counss_mon'] == 0) {


Just checking, is counss correct?

—
Reply to this email directly or view it on GitHub<https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/584/files#r16387958>.