Duplicating Datatemplate & Graph Template, Graphs stopped

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Duplicating Datatemplate & Graph Template, Graphs stopped

Post by Skysmart »

can someone help out here. very urgent.

after duplicating one datatemplate about 10 times, and doing the same for graph templates, all my graphs stopped working. any advice?
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by TheWitness »

Need more information. Versions etc.
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?
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

I have the latest version of cacti. 0.8.7h. its running on red hat 6. and i'm using boost.

this seems to happen whenever i add new data templates/graph templates to graph the output of scripts.

and the only way i can fix it, apparently, is to do rebuild the poller. i mean, do i have to do this all the time?

i know i will be adding many more scripts to cacti and i dont think it'll look too nice to be having gaps in graphs each time a new script is added.

thank you so much for your response.
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by TheWitness »

Take the lib/utilities.php from the Cacti Group SVN (branches/0.8.7) and replace your current one. We will be releasing the 'i' version which corrects this as well as a few other 'major' issues this weekend. It was planned for monday, but the release Mgr had other obligations.

TheWitness
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?
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

is there a link to this svn thing? i dont know what you're talking about.
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

Skysmart wrote:is there a link to this svn thing? i dont know what you're talking about.

never mind. i got it. thank you so much!
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

i dont think the utilities.php is working. i replaced my current one with the version you said to get from svn. and today when i try to visit the "System Utilities" from the GUI, i get a blank page.

any suggestions?

thanks
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by TheWitness »

http://svn.cacti.net/viewvc/cacti/branc ... p?view=log

Afterwards rebuild your poller cache. Provide feedback again. If that does not get it. Find what script is causing it and forward to me the script and the syntax.
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?
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

Still not working. I cant rebuild the poller because the option to do that is in the "System Utilities" of Cacti GUI, which is what i'm having problems with as it is blank.

any ideas?

thank you
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

can someone help me with this?
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

ok, so i managed to get this to work. i replaced the current utilities.php.

but now, when i go to systems utilities, i cant see that link that usually shows the status of Boost.

any way i can get this back to show up?
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by gandalf »

try attached utilities file, which stems from 087i WITH PIA included
R.
Attachments
utilities.php.gz
(10.57 KiB) Downloaded 87 times
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

you guys are simply the best!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
Skysmart
Cacti User
Posts: 67
Joined: Mon Dec 08, 2008 9:21 am

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by Skysmart »

:( unfortunately guys, the issue is still there. i just added a new datatemplate/graph template and all my graphs stopped. i'm now having to do rebuild poller cache again.....a process that takes a while to complete given the amount of devices i have in them.

any suggestions?
Monitor UNIX Log Files for specific entries or abnormalities
Scan logs for the lack of occurrence of keywords/patterns
Alert on the file sizes & timestamps of any file in UNIX
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Duplicating Datatemplate & Graph Template, Graphs stoppe

Post by gandalf »

Please name the Template you have duplicated. I'll try to reproduce. At least, such a problem is not yet known
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest