Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I find this graph pretty handy in diagnosing NFS problems and helping to tweak performance. Hope you all like it!
Note that you will just receive NaN's if you don't have NFS installed; of course why do you need this graph if that is the case.
Steps to install:
1. Place nfs_client.sh in /usr/local/bin/, make sure it is excecutable. I use puppet to do this, you can use another tool or do it manually.
2. Add a line like this to your snmpd.conf:
Very kool Pheezy! I liked it so much I wanted it for Solaris so I modified your Linux /proc based polling method to use Solaris Kstats instead.
To use Pheezy's Cacti plugin with Solaris follow his instructions exactly, but use my 'nfs_client_solaris.sh' instead of his 'nfs_client' and you're good to go.
Very handy indeed.
NOTE: This is for NFSv3 only!
Remember, 'snmpd.conf' on Solaris 10/OpenSolaris is found in /etc/sma/snmp/. Once you've added the exec line enable or restart SMA (ie: Net-SNMP) (ex: 'svcadm enable sma' or 'svcadm restart sma')
Here's the server portion. It's about 99% the same as the client stats, but you're just querying /proc/net/rpc/nfsd instead. Follow the same instructions as before.
I used this line in my SNMPD and my template, you'll need to change it if you want to use something else:
This is a modified client template that works with the "extend" directive of net-snmp instead of "exec". exec has been deprecated and will no longer work in the most recent versions, but extend exposes the data in a different format.
Long story short, this is the same client xml file at the top of the thread with the following search and replace performed on it:
.66.101.
to
.66.4.1.2.10.110.102.115.95.99.108.105.101.110.116.
This was a quick hack and it Works On My Machine<tm> - your mileage may vary.
Hi! I have a Problem with this Template. If I try to import the XML, the site reloads without any response. I searched two days and try many "solutions" without success. Can anybody help me ? I use Cacti v0.8.7b.
bonehead wrote:Hi! I have a Problem with this Template. If I try to import the XML, the site reloads without any response. I searched two days and try many "solutions" without success. Can anybody help me ? I use Cacti v0.8.7b.
I know: bad english. Reason: I'm a idiot!
These were exported with cacti 0.8.7a, and I do recall some database changes with 0.8.7b.
I've exported the attached files from a 0.8.7b installation, you might want to try them, though YMMV.