backup for nsclient

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

backup for nsclient

Post by grayloglearn »

Hi Team,

Sometime we need to uninstall the agent and install the agent.
As per client process we will go with Change process management by raising the change and getting approval then we will start the agent uninstall,

Some time when we uninstall the agent it will not uninstall properly and we will get some errors. To avoid such things do we have any plans like
if take this backup for nsclient then if we restore the same backup nsclient service should work.Do we have such way to avoid.

Because sometime when it will not uninstall properly we need to restart the server where we don't have permission. If uninstall go successfully sometime we can't install agent. such time if we take this back before uninstall and if we restore then it should work.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: backup for nsclient

Post by mbellerue »

This may end up being an issue for the NSClient devs. But Let's see if we can make some progress. Do you have the error messages?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

Re: backup for nsclient

Post by grayloglearn »

We have couple of errors 1053 windows errors at that time they restarted the server and again installed its worked. But usually we don't get any permission to restart the server if any issues will happen while uninstall so when we uninstall the agent if issues occur if we can take something backup if we again restore if it is work that will be good on backup plan.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: backup for nsclient

Post by mbellerue »

The 1053 errors may be related to NSClient trying to service a check while you are running the uninstall. If the uninstall is complete, and the NSClient++ service is removed from Services, you can find the process at the command line and kill the process there. Open a cmd window as administrator and run tasklist /svc | findstr nscp and you will get the PID. Then you can use taskkill /PID <processID> to kill the process. Would that helP?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

Re: backup for nsclient

Post by grayloglearn »

The error 1053 is fine. We have resolved it
But can you help us with query like below

Some time when we uninstall the agent it will not uninstall properly and we will get some errors. To avoid such things do we have any plans like
if take this backup for nsclient then if we restore the same backup nsclient service should work.Do we have such way to avoid.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: backup for nsclient

Post by mbellerue »

No, we don't have a backup plan for NSClient, as it is developed by a 3rd party. But off of the top of my head, I would recommend backing up at least the nsclient.ini file, the security directory, and any custom plugins in your scripts directory.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked