NRPE Command to Fileshare
Posted: Fri Mar 24, 2017 9:48 am
We are running Nagios XI.
No special configurations.
I am using the NRPE command to run a powershell script that writes a file to a file share although I am getting access denied.
The reason is that the Nagios service is tied to a service account on the domain that does not have access to the share.
I would like the service account on the domain that HAS access to write to the share, the ability to run the command after the Nagios server executes the nrpe command.
Is there an argument that i can put that i could add the user and password of the service account that has access to the share?
Thank you for any input!
No special configurations.
I am using the NRPE command to run a powershell script that writes a file to a file share although I am getting access denied.
The reason is that the Nagios service is tied to a service account on the domain that does not have access to the share.
I would like the service account on the domain that HAS access to write to the share, the ability to run the command after the Nagios server executes the nrpe command.
Is there an argument that i can put that i could add the user and password of the service account that has access to the share?
Thank you for any input!