[SOLVED] MEMORY USAGE GRAPH NOT BEING CREATED
Moderators: Developers, Moderators
[SOLVED] MEMORY USAGE GRAPH NOT BEING CREATED
Hi there,
I am very new to cacti and i am badly in need of some help.I`m using the cacti 0.8.6i versions to monitor some of the servers at my work place .These servers are running the Solaris 5.8 or 5.9 OS`s,i tried creating the memory usage graph for these servers and i was unable to get these graphs working for all the servers,i have installed all the necessary upgrades required to run the snmp protocol on all the servers. The strangest thing is that some of the servers have managed to display this memory usage graph, but a few of them are still not able to display these graph no matter i have tried all possible setting on them.Can someone pls help me out.
Regards
Mayur
I am very new to cacti and i am badly in need of some help.I`m using the cacti 0.8.6i versions to monitor some of the servers at my work place .These servers are running the Solaris 5.8 or 5.9 OS`s,i tried creating the memory usage graph for these servers and i was unable to get these graphs working for all the servers,i have installed all the necessary upgrades required to run the snmp protocol on all the servers. The strangest thing is that some of the servers have managed to display this memory usage graph, but a few of them are still not able to display these graph no matter i have tried all possible setting on them.Can someone pls help me out.
Regards
Mayur
Depending on the version of snmp, all the information may not be available. Try manually snmpwalking the mib you are using to verify the information is being reported. You may need to update your version of snmp on the boxes or you may not be able to get the information at all with the version of Solaris.
Thankx for ur reply.
i have tried manually snmpwalking the mib and i was able to retrive the "real available memory" information for the boxes which r not able to plot the memory usage graphs.Currently i am using the net-snmp version 5.4 on these boxes.,can u suggest me some other alternative inorder to plot a graph for the memory usage.
i have tried manually snmpwalking the mib and i was able to retrive the "real available memory" information for the boxes which r not able to plot the memory usage graphs.Currently i am using the net-snmp version 5.4 on these boxes.,can u suggest me some other alternative inorder to plot a graph for the memory usage.
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
can you run that :
(this is on a Linux host)
can you run that :
Code: Select all
$ snmpwalk -v 1 -c public ip.of.your.host memory
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1048568
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1018620
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 515600
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 36596
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1055216
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 2684
UCD-SNMP-MIB::memCached.0 = INTEGER: 375804
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Hello
Hi fmangeant
Thankx..
I tried running the snmpwalk command u have mentioned above and the following is the result.
$ snmpwalk -v 1 -c public ip.of.my.host memory
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 12584936
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 12584936
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 31457280
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 20016856
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
(this is on solaris host)
suggest me an alternative to plot the memory usage graph.
Thankx..
I tried running the snmpwalk command u have mentioned above and the following is the result.
$ snmpwalk -v 1 -c public ip.of.my.host memory
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 12584936
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 12584936
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 31457280
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 20016856
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
(this is on solaris host)
suggest me an alternative to plot the memory usage graph.
Regards
Mayur
Mayur
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I'll post a graph template for memory usage later today.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Here you are
I'm using these templates with AIX, Solaris and HP-UX.
Be careful when importing them, I'm using "huge" RRA definitions...
I'm using these templates with AIX, Solaris and HP-UX.
Be careful when importing them, I'm using "huge" RRA definitions...
- Attachments
-
- cacti_graph_template_ucdnet_swap_usage.xml
- (19.24 KiB) Downloaded 128 times
-
- swap_usage.png (16.63 KiB) Viewed 2788 times
-
- memory_usage.png (18.25 KiB) Viewed 2788 times
-
- cacti_graph_template_ucdnet_memory_usage.xml
- (19.25 KiB) Downloaded 177 times
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Thankx Buddy
hey i will be carefull..i will test them right a way and let u know whether it works...
Regards
Mayur
Mayur
ERROR
Hey dude!
I tried importing the memory usuage XML into my cacti and it gave me the following error.
Error: XML: Hash version does not exist.
What am i supposed to do?
I tried importing the memory usuage XML into my cacti and it gave me the following error.
Error: XML: Hash version does not exist.
What am i supposed to do?
Regards
Mayur
Mayur
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
These templates were exported from a Cacti 0.8.6j installation.
So you have to use Cacti >= 0.8.6j to import them.
So you have to use Cacti >= 0.8.6j to import them.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I have another Cacti server running 0.8.6i, come back in a few minutes and I'll repost the templates.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I have upgraded my cacti to 0.8.7a
HI i have upgraded my cacti version from 0.8.6i to 0.8.7a.I also imported the templates u had uploaded for memory usage.The memory usuage graph is working now.There is still a small problem left, the used memory is not being plotted only total memory and free memory is plotted.
Regards
Mayur
Mayur
Who is online
Users browsing this forum: No registered users and 15 guests