Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
<DirectoryMatch /path/to/cacti/>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals On
php_flag register_argc_argv On
php_flag track_vars On
php_value include_path .
php_value display_errors Off
DirectoryIndex index.php
</IfModule>
</DirectoryMatch>
royce,
sorry for dump question, but could you please explain that more detailed?
is that a separate file you wrote here down, or should I add it in some other file? where should I create that directive.
I am currently migrating bunch of graphs from Cricket but unfortunately i am not able to completely get rid of it.
Currently we are using a perl script that sends snmp traps to the TNG,
which alerts our NOC operators. Is there a possibility of having a feature where you can choose between sending mail to a specified email address or
running external command with specified arguments.
Usage: sendTrap.pl [source] [severity] [action] [message]
Source: One Word Discriptor of sending application
Severiy: CRIT, WARN, INFO, TEST, SUCC, ATTN, or DOWN
action: MAIL or NONE
message: Up to 255 character message.
Examples:
sendTrap.pl APP TEST MAIL This is a test
I am sure alot of people would appreciate an ability to run external scripts.
Mika wrote:royce,
sorry for dump question, but could you please explain that more detailed?
is that a separate file you wrote here down, or should I add it in some other file? where should I create that directive.
Thanks in advance for helping,
Mika
hi, in your apache httpd.conf, you can add special "features" for a specified path on your server. My point here is that you could enable short php tags for the cacti-path only in order to get thold2.1 work.
The code in my earlier post could be included at the bottom of apache's httpd.conf
I'm having a small problem with thold2.1a. I can setup everything, but tholds doesn't seem to be polling the currect value of whatever i am monitoring. So if/when i go over my polling thresholds, thold2.1a just does nothing.
it seems, i have found a bug, perhaps others have met this already. in the mysql table there are some column types defined as INT(50). well, on my debian box, it did not worked for numbers larger than 32 bits (so larger than int(11)). this was bad, because if u try to monitor hard disk usage, then the max value a trigger can have is around 2 gigs. and that's not so much
so i changed all int(50) to bigint in the table thold_data, and now it works for me. has anyone already faced this problem?
debian sarge
mysql Ver 12.22 Distrib 4.0.23, for pc-linux-gnu (i386)
The image “https://192.x.x.x/cacti/graph_image.php?local_graph_id=&rra_id=1&graph_start=-32400&graph_height=100&graph_width=300&graph_nolegend=true” cannot be displayed, because it contains errors."
I am extremely excited to give this script a try! I was impressed with the initial release, but I saw someone post earlier that they were unable to have thresholds in decimal values (ie 0.8 ) and was told to round up... how would this work for T1 lines with 1.544 mbit of bandwidth? I would like to be notified when that threshold gets to aprox 1.2 mbit (or around 80%) of total bandwidth... is this possible? If its going to be introduced in a future release I may have to wait.. lol. We have over 80 T1 circuits and way too many frame-relay circuits that I would love to have threshold alarms for. But so far I'd say everyone invloved in this scripts development has done an outstanding job! Keep it up!
Last edited by raderjm on Mon Feb 28, 2005 1:47 pm, edited 2 times in total.
strangely enough, i installed the module, but i dont seem to see it in cacti.
the module inserted its files, backed up the old files, added the tables to mysql etc, but when logging into Cacti, i don't see the Threshold tab or any of the related config.
i set the permissions on the new files as they are for the older files.
I am using cacti 0.8.6c on linux (Slackware 9.1).
royce, thank you for help.
Today I just checked httpd.conf file and noticed the syntax you provided fits exactly there
It should be really shame on me
One more question:
If I run it on a linux machine, should there sendmail be configured localy in order to send email notifications, or I can use existing remote mailserver?