data query error
Moderators: Developers, Moderators
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
data query error
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!
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 (12.65 KiB) Viewed 2569 times
-
- data query error-create graph.JPG (109.81 KiB) Viewed 2569 times
Re: data query error
What is your "Downed Device Detection", is it none?
Change it to PING or SNMP.
Change it to PING or SNMP.
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
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 (62.63 KiB) Viewed 2533 times
Re: data query error
Have you created any graphs for the hosts? It shows unknown if there is no created graphs.
What does cacti.log say?
What does cacti.log say?
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
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?micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.
What does cacti.log say?
- Attachments
-
- mikro.PNG (12.48 KiB) Viewed 2376 times
Re: data query error
Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:dmightyangel wrote: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?micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.
What does cacti.log say?
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
Re: data query error
The paths are already there.micke2k wrote:Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:dmightyangel wrote: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?micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.
What does cacti.log say?
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
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.
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
micke2k wrote:Aa its obvious now, your are missing the file mikrotik_queue_simple in your resource/snmpqueries folder:dmightyangel wrote: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?micke2k wrote:Have you created any graphs for the hosts? It shows unknown if there is no created graphs.
What does cacti.log say?
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.
Re: data query error
No worries friend, glad it workedYou 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.
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
I have come again...This is the NEW huddle I am having...Pls help, What should I do, and How should I do it pllllmicke2k wrote:No worries friend, glad it workedYou 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.
- Attachments
-
- error.JPG (37.45 KiB) Viewed 2095 times
Re: data query error
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:
You need to change the ownership of that folder to the same as the webserver.
Example:
rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.chown -R apache.apache /var/www/html/cacti/rra_rt
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
Pls How do I create it? So sorry if I'm sounding dumb....Can't see anything like folder in the visual...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:rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.chown -R apache.apache /var/www/html/cacti/rra_rt
- Attachments
-
- rrd.JPG (127.99 KiB) Viewed 2086 times
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
dmightyangel wrote:Pls How do I create it? So sorry if I'm sounding dumb....Can't see anything like folder in the visual...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:rra_rt should be the folder under settings -> visual. You need to create it if it doesn't exist.chown -R apache.apache /var/www/html/cacti/rra_rt
Pls what is your twitter Handle? Need to follow u live.....
Re: data query error
Sorry dont have twitter
Look around under settings, in some menu there should be settings for realtime plugin.
Look around under settings, in some menu there should be settings for realtime plugin.
-
- Posts: 11
- Joined: Tue Dec 08, 2015 8:58 am
Re: data query error
Is this what you're referring to? If yes, how do I go about it?micke2k wrote:Sorry dont have twitter
Look around under settings, in some menu there should be settings for realtime plugin.
- Attachments
-
- misc.JPG (25.91 KiB) Viewed 2070 times
Who is online
Users browsing this forum: No registered users and 2 guests