-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime Error in plugin.py #22
Comments
While there is probably an error in the code, I don't see any nfs mounted filesystems in your /proc/self/mountstats, so there is nothing to report on. I am guessing that its trying to report on something that isn't there and that is the cause of the error? It just occurred to me that you may be trying to run this on the NFS Server, while it is designed to run "nfsiostat" against mounted NFS filesystems on the client side. |
Hi, Yes, you may be right, in fact I installed the plugin on the NFS server. I understand now. So are you saying this client is for NFS client, and there is nothing to do in the server side? And finally yes if the plugin is supposed to run on the client side, then you're right it should display an error saying it's on the server and should be run on the client, or something like that. Thank you so much for your reply. I'll move to the client and let you know if it works. Regards. |
Hi, Yes you were right. It works better on the client (I don't have the same error) and I can informations (empty) in the newrelic dashboard, But now I have another code error in the log file :
The screenshot show newrelic event dashboard, the instance ip-10-4-16-11 represent the server, and is not important as I stopped the service there. Here is the client /proc/self/mountstats
Thanks for help. Regards. |
just as a test (a guess), can you try using NFSv3, in your mount options you have |
Ok @TJM, I'll test all that outside production environment and let you know. Thanks. |
Hi @TJM, I've setup a test client, and use nfs version 3 on it, and it seems to work better, but I can't really say it works till you confirm with the information I will give you below. So now, logs look like this :
Nothing else. And in the newrelic nfs plugin newrelic dashboard, I have the value 0 in every column like this fisrt screen-shot shows For me it seems like I have no data, but when I click on any row there I have the attached graph (I split in two parts for scrolling issue) Can you tell me please if it's normal? I'll then dive into other plugin for version4 and test it after your answer. Thanks. Regards. |
Here attached is the output of the command nfsiostat 5 10 -adps I ran on the client a few hours ago. Let me know what you think about the dashboard please. Regards. |
Hi, Yes the fix for NFSv4 support also works. Now I've only this in log file as mentionned above :
But I've data in the dashboard for both version3 and vercion4. Thanks. |
Yea, so that should be a "DEBUG" log level message that you are seeing there, I think I may have been trying to figure out what was wrong with the runner and set it to warning, then forgot to set it back. |
Hi,
I succeeded to install and run the plugin but I'm getting runtime error, the same error all time on a bad key ALL in the plugin.py module. Here is what is writen in log file :
Is this a bug in the code? I'm using the last release with all requirements.
My /proc/self/mountstats
Thank for help.
Regards.
The text was updated successfully, but these errors were encountered: