Re: enable SMS messaging & alarm thresholds by time
Avishay Cohen <[email protected]>
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Luca , Thanks for your quick answer . As For my first Question I want to know whether Cacti notification could send HTTP Get request with string parameter. As for my second Question, could I set Cacti Min Max Thresholds on hour basis? For example threshold low setting: A between 08:00 - 17:00 and B between 19:00 - 23:59 Thanks, Avishay -----Original Message----- From: Luca Sironi [mailto:[email protected]] Sent: Wednesday, September 05, 2012 3:58 PM To: Support requests/questions about cacti Cc: Shalom Sananes; [email protected] Subject: Re: [cacti-user] enable SMS messaging & alarm thresholds by time 2012/9/5 Avishay Cohen <[email protected]>: > Hi, > I want to enable SMS messaging in addition to e-mail messages . > Is there a plugin that allows this , for example by sending messages > to Http . Do you have an http web page with a form, tied to a sms service? > Also is there a way to set alarm thresholds by time? if you mean turning off all or some alarms for a period (an installation time), you can use the table thold_data example: #!/bin/sh if [ $# -ne 1 ]; then echo -e "\033[32m" echo -e " _ _ " echo -e " | || | _ \033[0m\033[1mUsage\033[32m:" echo -e " | || || | " echo -e " | || || | cacti_alarm.sh on/off" echo -e " \_ || | will enable/disable" echo -e " | _/ the cacti thold alarm" echo -e " | | " echo -e " |_| \n\033[0m" fi STATUS=$1 /usr/bin/mysql -u cactiuser -psomepassword -e "UPDATE thold_data SET thold_enabled = '$1'" cacti_db if [ "$STATUS" = "on" ]; then echo -e "[\033[30;42mcacti alarms enabled\033[0m]"; elif [ "$STATUS" = "off" ]; then echo -e "[\033[30;47mcacti alarms disabled\033[0m]"; fi maybe you can specify just some thresholds identifier and crontab the activation of some alarms. kr Luca -- "tempo" e "voglia" sono sinonimi nel 90% dei casi http://www.sironi.tk -------------------------------------------------------------------------- ---- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cacti-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cacti-user ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/