Fatal error: Call to a member function SetFetchMode()

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
vikasjnp
Posts: 5
Joined: Wed Feb 06, 2013 9:37 am

Fatal error: Call to a member function SetFetchMode()

Post by vikasjnp »

Dear All,

when we are adding new graph it is not generating graph, it is showing as attachment.

old graphs are plotting fine. we tried to rebuild poller cache but no success.

Fatal error: Call to a member function SetFetchMode() on a non-object in /var/www/html/plugins/syslog/database.php on line 205 getting this error on syslog

Cacti ver- 0.8.8a

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title='xx' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/xx.rrd":'traffic_in':AVERAGE \
DEF:b="/var/www/html/rra/xx.rrd":'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
CDEF:cdefbe='a,UN,INF,UNKN,IF' \
CDEF:cdefbh='TIME,1360162445,GT,a,a,UN,0,a,IF,IF,TIME,1360162445,GT,b,b,UN,0,b,IF,IF,+' \
--watermark "Created using CactiEZ" \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
COMMENT:"Transfer\: 0 bytes" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf%s" \
HRULE:|95\:bits\:0\:current|#00FF00FF:"95%\:" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf%s" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf%s\n" \
COMMENT:" \n" \
HRULE:0#FF0000FF:"95th Percentile" \
COMMENT:"(0 mbit in+out)" \
AREA:cdefbe#8F9286FF:"" \
COMMENT:"Transfer\: 0 bytes" \
HRULE:|95\:bits\:0\:current|#0000FFFF:"95%\:" \
COMMENT:"0 mbit" \
COMMENT:"Total Transfer\: 0 bytes\n"
RRDTool Says:






please assist
Attachments
cacti error.jpg
cacti error.jpg (16.65 KiB) Viewed 1628 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Fatal error: Call to a member function SetFetchMode()

Post by gandalf »

Issue is related to SYSLOG plugin, moving
R.
vikasjnp
Posts: 5
Joined: Wed Feb 06, 2013 9:37 am

Re: Fatal error: Call to a member function SetFetchMode()

Post by vikasjnp »

hi

thanks Fatal Error sorted

but Interface graph are not generating

please help
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Fatal error: Call to a member function SetFetchMode()

Post by gandalf »

Please either provide more information or and/or see 2nd link of my sig for debugging
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests