Help adding Network Interfaces
Moderators: Developers, Moderators
Help adding Network Interfaces
Hello I am very new to Cacti and I have added several linux servers. The only thing I have left is adding their network interfaces to monitor traffic. I really need this but I just haven't been able to figure out how to do it I have been searching for the past 2 hours with no luck. I have a feeling it is something really simple but I just haven't figured it out yet.
Thanks,
Grant
Thanks,
Grant
Well, if it is properly configured, just go to Console/Devices/{Device Name}, then click 'Create Graphs', then select the interface.
If not:
Which template did you use to create the device?
When viewing the device, what is under 'Associated Data Queries'?
If SNMP - Interface Statistics under Associated Data Queries, what does it say in the status column?
If not:
Which template did you use to create the device?
When viewing the device, what is under 'Associated Data Queries'?
If SNMP - Interface Statistics under Associated Data Queries, what does it say in the status column?
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
The Template I used was Local Linux Host
The only thing under Associated Data Queries is "Unix - Get Mounted Partitions"
Here is the Querey Debug Info
Thanks,
Grant
The only thing under Associated Data Queries is "Unix - Get Mounted Partitions"
Here is the Querey Debug Info
Code: Select all
+ Running data query [6].
+ Found type = '4 '[script query].
+ Found data query XML file at '/home/sallies/public_html/cacti/resource/script_queries/unix_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl /home/sallies/public_html/cacti/scripts/query_unix_partitions.pl index'
+ Executing script query 'perl /home/sallies/public_html/cacti/scripts/query_unix_partitions.pl query device'
+ Found item [dskDevice='/dev/sdb2'] index: /dev/sdb2
+ Found item [dskDevice='/dev/sdb1'] index: /dev/sdb1
+ Found item [dskDevice='/usr/tmpDSK'] index: /usr/tmpDSK
+ Found item [dskDevice='/tmp'] index: /tmp
+ Executing script query 'perl /home/sallies/public_html/cacti/scripts/query_unix_partitions.pl query mount'
+ Found item [dskMount='/'] index: /dev/sdb2
+ Found item [dskMount='/boot'] index: /dev/sdb1
+ Found item [dskMount='/tmp'] index: /usr/tmpDSK
+ Found item [dskMount='/var/tmp'] index: /tmp
+ Found data query XML file at '/home/sallies/public_html/cacti/resource/script_queries/unix_disk.xml'
+ Found data query XML file at '/home/sallies/public_html/cacti/resource/script_queries/unix_disk.xml'
+ Found data query XML file at '/home/sallies/public_html/cacti/resource/script_queries/unix_disk.xml'
Grant
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The "Local Linux Host" template is for exactly that - the local linux host (i.e. the one running Cacti). It uses scripts, so you can't use it for remote servers.atomsk47 wrote:The Template I used was Local Linux Host
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
So does that mean the data being recorded for all the servers will just be data taken from the localhost and not the remote server?Howie wrote:The "Local Linux Host" template is for exactly that - the local linux host (i.e. the one running Cacti). It uses scripts, so you can't use it for remote servers.atomsk47 wrote:The Template I used was Local Linux Host
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes. You can prove this for yourself by looking at (for example) the load average graph on all the servers.atomsk47 wrote: So does that mean the data being recorded for all the servers will just be data taken from the localhost and not the remote server?
To measure the remote servers without writing your own scripts, you need to install net-snmp's snmpd on each server, and then use the 'ucd/net snmp host' template instead.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Nice catch Howie, skipped right over that...Howie wrote:The "Local Linux Host" template is for exactly that - the local linux host (i.e. the one running Cacti). It uses scripts, so you can't use it for remote servers.atomsk47 wrote:The Template I used was Local Linux Host
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
One of my top 5 pet hates about CactiLinegod wrote:Nice catch Howie, skipped right over that...Howie wrote:The "Local Linux Host" template is for exactly that - the local linux host (i.e. the one running Cacti). It uses scripts, so you can't use it for remote servers.atomsk47 wrote:The Template I used was Local Linux Host
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
I'll add 'create and add Linux Server template to base install' to the list of topics we are discussing at OSCON this summer.Howie wrote:One of my top 5 pet hates about CactiLinegod wrote:Nice catch Howie, skipped right over that...Howie wrote: The "Local Linux Host" template is for exactly that - the local linux host (i.e. the one running Cacti). It uses scripts, so you can't use it for remote servers.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 8 guests