data query error

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

data query error

Post by dmightyangel »

Hi all,
Pls I have been setting up this cacti on centos 7 for a while. i am very new to both Linus and Cacti.

Pls I need help as the devices I created are showing "unknown" and also getting data query error for d mikrotik template:
I attached the pix so as to have easy solution! Please help me out on what I need to do...Note again, I am not a guru like you, so guide me gently please!
Attachments
unknown.JPG
unknown.JPG (12.65 KiB) Viewed 2565 times
data query error-create graph.JPG
data query error-create graph.JPG (109.81 KiB) Viewed 2565 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

What is your "Downed Device Detection", is it none?

Change it to PING or SNMP.
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:What is your "Downed Device Detection", is it none?

Change it to PING or SNMP.

My Downed Device detection is SNMP....Pls What other information do u need
Attachments
device detection.JPG
device detection.JPG (62.63 KiB) Viewed 2529 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

Have you created any graphs for the hosts? It shows unknown if there is no created graphs.

What does cacti.log say?
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.

What does cacti.log say?
How do I create graph on what is showing "Error in Data query?"...queue simple, queue tree etc are not finding the paths... So pls How do I create those paths in Cacti and copy from my files there?
Attachments
mikro.PNG
mikro.PNG (12.48 KiB) Viewed 2372 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

dmightyangel wrote:
micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.

What does cacti.log say?
How do I create graph on what is showing "Error in Data query?"...queue simple, queue tree etc are not finding the paths... So pls How do I create those paths in Cacti and copy from my files there?
Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:

You missed step 3 in:
Download it again and scp/winscp it over to the folder:

/usr/share/cacti/resource/snmp_queries/mikrotik_queue_simple.xml
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

micke2k wrote:
dmightyangel wrote:
micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.

What does cacti.log say?
How do I create graph on what is showing "Error in Data query?"...queue simple, queue tree etc are not finding the paths... So pls How do I create those paths in Cacti and copy from my files there?
Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:

You missed step 3 in:
Download it again and scp/winscp it over to the folder:

/usr/share/cacti/resource/snmp_queries/mikrotik_queue_simple.xml
The paths are already there.

Go to https://winscp.net/eng/download.php and download it. Then connect to your cacti machine. Browse to /usr/share/cacti/resource/snmp_queries/

Drag the file over.
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:
dmightyangel wrote:
micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.

What does cacti.log say?
How do I create graph on what is showing "Error in Data query?"...queue simple, queue tree etc are not finding the paths... So pls How do I create those paths in Cacti and copy from my files there?
Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:

You missed step 3 in:
Download it again and scp/winscp it over to the folder:

/usr/share/cacti/resource/snmp_queries/mikrotik_queue_simple.xml

You are so so on Point...I did it this way and the error is gone....Thanks for being patient enough to carry people like me along.
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

You are so so on Point...I did it this way and the error is gone....Thanks for being patient enough to carry people like me along.
No worries friend, glad it worked :)
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:
You are so so on Point...I did it this way and the error is gone....Thanks for being patient enough to carry people like me along.
No worries friend, glad it worked :)
I have come again...This is the NEW huddle I am having...Pls help, What should I do, and How should I do it pllll
Attachments
error.JPG
error.JPG (37.45 KiB) Viewed 2091 times
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

Under settings -> visual what folder is used for realtime?

You need to change the ownership of that folder to the same as the webserver.

Example:
chown -R apache.apache /var/www/html/cacti/rra_rt
rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:Under settings -> visual what folder is used for realtime?

You need to change the ownership of that folder to the same as the webserver.

Example:
chown -R apache.apache /var/www/html/cacti/rra_rt
rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.
Pls How do I create it? So sorry if I'm sounding dumb....Can't see anything like folder in the visual...
Attachments
rrd.JPG
rrd.JPG (127.99 KiB) Viewed 2082 times
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

dmightyangel wrote:
micke2k wrote:Under settings -> visual what folder is used for realtime?

You need to change the ownership of that folder to the same as the webserver.

Example:
chown -R apache.apache /var/www/html/cacti/rra_rt
rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.
Pls How do I create it? So sorry if I'm sounding dumb....Can't see anything like folder in the visual...

Pls what is your twitter Handle? Need to follow u live.....
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: data query error

Post by micke2k »

Sorry dont have twitter :)

Look around under settings, in some menu there should be settings for realtime plugin.
dmightyangel
Posts: 11
Joined: Tue Dec 08, 2015 8:58 am

Re: data query error

Post by dmightyangel »

micke2k wrote:Sorry dont have twitter :)

Look around under settings, in some menu there should be settings for realtime plugin.
Is this what you're referring to? If yes, how do I go about it?
Attachments
misc.JPG
misc.JPG (25.91 KiB) Viewed 2066 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests