Hello Team,
We are trying to monitor NFS service on our 2 NFS Server. But we are seeing some weird behaviour where service name in NCPA API shows different than actual service name in NFS Server. Please find attachments & screenshots for your reference,
NFS1 Server
Files nfs1_NcpaAPI_output & nfs1_NFSService_output contains the result of NFS1 server NCPA API output & nfs service output.
NFS2 Server
Files nfs2_NcpaAPI_output & nfs2_NFSService_output contains the result of NFS2 server NCPA API output & nfs service output.
Best Regards,
bsanjay
NCPA Agent displaying different service name
NCPA Agent displaying different service name
You do not have the required permissions to view the files attached to this post.
Re: NCPA Agent displaying different service name
NFS1 Server
It looks like it returns the status of multiple processes. Instead of monitoring the service like this it would probably be better to monitor the processes (rpc.mountd, nfsd, rpc.rquotad) instead. What does the API show when you try to list the processes?
The "service nfs status" command redirects to a systemctl equivalent. If NCPA detects systemctl then it will use this to find services and in this case the service would be nfs-server which shows to be running:
It looks like it returns the status of multiple processes. Instead of monitoring the service like this it would probably be better to monitor the processes (rpc.mountd, nfsd, rpc.rquotad) instead. What does the API show when you try to list the processes?
Code: Select all
NFS2 ServerCode: Select all
"nfs-server": "running",As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.