hi, reneeb, thank you for your support
command i was trying to run was "rrdtool create /opt/otrs/var/otrs.rrd DS:opentickets:GAUGE:600:U:U RRA:AVERAGE:0.5:1:2400"
it fixed it by installing rrdtool, after that, i created a folder in <my otrs instalation>/bin
inside, i created a file named "otrs.rrd.sh" and pasted on it this
Code: Select all
TMPTICKETS=`/opt/otrs/bin/otrs.NagiosCheck.pl -c /opt/otrs/Kernel/Config/
NagiosCheck.pm`
rrdtool update otrs.rrd $TODAY:$TMPTICKETS
rrdtool graph /opt/otrs/var/httpd/htdocs/images/opentickets_daily.png --start -86400
--title "OTRS Performance Data" --vertical-label "offene Tickets" -w 600 -h 200
DEF:opentickets=otrs.rrd:opentickets:AVERAGE AREA:opentickets#00ff00:"offene Tickets"
rrdtool graph /opt/otrs/var/httpd/htdocs/images/opentickets_weekly.png --start
-604800 --title "OTRS Performance Data" --vertical-label "offene Tickets" -w 600 -h
200 DEF:opentickets=otrs.rrd:opentickets:AVERAGE AREA:opentickets#00ff00:"offene
Tickets"
According to if otrs gets emails, the answer is yes, let me show you
http://i45.tinypic.com/2mcqr4.png
i send custom services notifications from nagios, and it sends emails to otrs user which i have created this way in nagios config
Code: Select all
define contact{
contact_name otrs
use generic-contact
alias OTRS System
email otrs@localhost
}
this is how i configured system monitoring
http://i46.tinypic.com/2rxw8j8.png
http://i49.tinypic.com/2mz9w0j.png
finally, otrs isnt creating tickets from emails that get from nagios
otrs log
http://i46.tinypic.com/2nib3ok.png
by the way, i am seeing already "OTRS Number of tickets" on nagios services and it is critical hahah
thank you