default official data queries gone

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
castrovalva
Posts: 2
Joined: Tue Mar 31, 2015 3:04 pm

default official data queries gone

Post by castrovalva »

Hi

In my installation the defatuls data queries are gone.

So I have two questions:

1. Is there a way to get them back or restore them?
I see I still have the xml in the resources folder. If not how can I add them back?

2. Some of my graphs are not longer working ?
They will work back after I restore the data queries.

In the past I did

shell>php -q add_data_query.php --list-data-queries

Known SNMP Queries:(id, name)
1 SNMP - Interface Statistics
2 ucd/net - Get Monitored Partitions
3 Karlnet - Wireless Bridge Statistics
4 Netware - Get Available Volumes
6 Unix - Get Mounted Partitions
7 Netware - Get Processor Information
8 SNMP - Get Mounted Partitions
9 SNMP - Get Processor Information

But they are all gone.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: default official data queries gone

Post by BSOD2600 »

first question should be who else has access to your site that could have deleted them?

easiest way to get them back is to spin up another temp install of the same revision, export the template(s), and then import again.
castrovalva
Posts: 2
Joined: Tue Mar 31, 2015 3:04 pm

Re: default official data queries gone

Post by castrovalva »

BSOD2600 wrote:first question should be who else has access to your site that could have deleted them?

easiest way to get them back is to spin up another temp install of the same revision, export the template(s), and then import again.

I did a parallel installation and reconfigure the data queries as they came by default it seems to work I start to get the graph again.

The reconstruction was painful must be an automatic way to do it even-though this is not usual or a daily task :-?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests