NCPA Agent displaying different service name

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

NCPA Agent displaying different service name

Post by bsanjay »

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
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NCPA Agent displaying different service name

Post by cdienger »

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?

Code: Select all

NFS2 Server
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:

Code: 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.
Locked