net-snmp CPU usage (multicore)
Moderators: Developers, Moderators
net-snmp CPU usage (multicore)
Some time before there were a lot of realizations of CPU usage on net-snmp-enabled hosts. Here it is another one approach. This graph template do not need to know about available cores amountcount.
Exported from 087e, it is reported that XML is not compatible with older versions.
Additionally it needs removing stange hack described here
Exported from 087e, it is reported that XML is not compatible with older versions.
Additionally it needs removing stange hack described here
- Attachments
-
- uniCPU.PNG (29.91 KiB) Viewed 16123 times
-
- cacti_data_query_ucdnet_-_cpu_info.xml
- (36.03 KiB) Downloaded 1113 times
-
- ucd-net-raw-cpu.xml
- resources/snmp_queries
- (2.54 KiB) Downloaded 1184 times
Last edited by BorisL on Tue Mar 16, 2010 12:28 pm, edited 1 time in total.
If you get a chance, please post these to the templates area:
http://docs.cacti.net/templates
http://docs.cacti.net/templates.guidelines
http://docs.cacti.net/templates
http://docs.cacti.net/templates.guidelines
--
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
Re: net-snmp CPU usage (multicore)
And it needs a patch to data_query.php since it gets the index wrong. It adds .1 to each and every oid which returns a NAN/U while appending a 0 will give the correct results.BorisL wrote:Some time before there were a lot of realizations of CPU usage on net-snmp-enabled hosts. Here it is another one approach. This graph template do not need to know about available cores amountcount.
Exported from 087e, it is reported that XML is not compatible with older versions.
Regards,
Joop
Re: net-snmp CPU usage (multicore)
It needs removing stange hack described hereJoop wrote:And it needs a patch to data_query.php since it gets the index wrong. It adds .1 to each and every oid which returns a NAN/U while appending a 0 will give the correct results.
I just want to start by saying this graph template is the best template for Linux CPU usage, so much better and more informative than the others I have seen!
But I am having some issues with it after upgrading to 0.8.7f....
All my existing hosts that use this template seem to continue to work fine after the update but when I add new hosts and want to graph CPU usage using this template it doesn't work:
RRDTool Says: ERROR: opening '/usr/share/cacti/rra/glo-prod-dbs4_sscpurawsoftirq_898.rrd': No such file or directory
I'm hoping some one here can help me out to get this working!
It seems to ask for "Output Type ID", "Index Value" and "Index Type" (see Screen shot) and when I compare the data source of one that is working and one that is not these fields are filled in on the working data source but I can't work out what the problem is.
I've applied the fix to /usr/share/cacti/lib/data_query.php as I did in the previous version of cacti.
Any ideas???
But I am having some issues with it after upgrading to 0.8.7f....
All my existing hosts that use this template seem to continue to work fine after the update but when I add new hosts and want to graph CPU usage using this template it doesn't work:
RRDTool Says: ERROR: opening '/usr/share/cacti/rra/glo-prod-dbs4_sscpurawsoftirq_898.rrd': No such file or directory
I'm hoping some one here can help me out to get this working!
It seems to ask for "Output Type ID", "Index Value" and "Index Type" (see Screen shot) and when I compare the data source of one that is working and one that is not these fields are filled in on the working data source but I can't work out what the problem is.
I've applied the fix to /usr/share/cacti/lib/data_query.php as I did in the previous version of cacti.
Any ideas???
- Attachments
-
- screenshot.png (42.18 KiB) Viewed 14697 times
-
- A Working Data source
- working-data-source.png (83.58 KiB) Viewed 14697 times
-
- A new data source that does not work
- NOT-working-data-source.png (86.31 KiB) Viewed 14697 times
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
- Instigater
- Cacti User
- Posts: 141
- Joined: Mon Dec 13, 2004 5:14 pm
- Location: Jurmala, Latvia
Here You are!
- Attachments
-
- cacti_graph_template_ucdnet_-_full_cpu_usage.zip
- (5.72 KiB) Downloaded 1412 times
-
- Posts: 1
- Joined: Fri Oct 29, 2010 12:08 pm
Re: net-snmp CPU usage (multicore)
Hi,
Which version is needed to import that last template?
I'm working with 0.8.7d and cannot import it.
Which version is needed to import that last template?
I'm working with 0.8.7d and cannot import it.
Re: net-snmp CPU usage (multicore)
it is not work at 0.8.7b
Re: net-snmp CPU usage (multicore)
Hi
when I import this template ,it show that
"XML: Hash version is not ok"
when I import this template ,it show that
"XML: Hash version is not ok"
Re: net-snmp CPU usage (multicore)
Does this work with Cacti 0.8.7i?
Who is online
Users browsing this forum: No registered users and 4 guests