Syslog Alert - Alert command

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

Syslog Alert - Alert command

Post by joseme »

Hi.
I want to know, how to use the option of "Syslog Alert -> Alert command", it says "When an Alert is triggered, run the following command..." , but what kind of command can be used?, maybe a script, mysql sentences..?, could you put an example?.

thanks
eqqchau
Posts: 44
Joined: Fri Nov 05, 2010 3:58 am

Re: Syslog Alert - Alert command

Post by eqqchau »

joseme wrote:Hi.
I want to know, how to use the option of "Syslog Alert -> Alert command", it says "When an Alert is triggered, run the following command..." , but what kind of command can be used?, maybe a script, mysql sentences..?, could you put an example?.

thanks
Hi joseme,

I prefer to use the syslog on cAmm instead of syslog plugin, because it includes more function.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Syslog Alert - Alert command

Post by TheWitness »

It can be any shell script. You should not string commands together.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests