Is anyone monitoring DFSR backlog successfully?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jsharris
Posts: 123
Joined: Wed Jul 03, 2013 7:00 am

Is anyone monitoring DFSR backlog successfully?

Post by jsharris »

We are trying to monitor our DFSR backlog but can't seem to get the plugin from the Nagios Exchange working (Microsoft DFS Monitor; http://exchange.nagios.org/directory/Ad ... or/details). Running the script returns a backlog of 0 every time even when we just enter a bunch of random characters for the variables.

To test we are trying to run the winexe command contained in the check script (with the necessary variables supplied manually) and can't make it work. Here is the command being used:

Code: Select all

/usr/local/bin/winexe -U DOMAIN/administrator%password //DFSSVR "dfsrdiag backlog /receivingmember:RSVR /sendingmember:SSVR /rgname:REPLG /rfname:REPLF"
Every time it returns the following error:

Code: Select all

[winexe/winexe.c:225:on_ctrl_pipe_read()] Error: error Creating process(dfsrdiag backlog /receivingmember:RSVR /sendingmember:SSVR /rgname:REPLG /rfname:REPLF) 2
We can successfully run simple commands such as hostname and ipconfig through winexe but not the dfsrdiag backlog command. It does not seem to be an authentication problem as that returns a different error (Failed to open connection - NT_STATUS_LOGON_FAILURE).

Has anyone had any success with this plugin to work or come up with an alternative means of monitoring DFSR backlog?

Thanks in advance to all.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Is anyone monitoring DFSR backlog successfully?

Post by lmiltchev »

This is a 3rd party plugin. We are not familiar with it and it is going to take some time to test it. I would recommend asking the developer directly. You can post a question/comment here:

http://exchange.nagios.org/directory/Ad ... or/details

If you had a custom script that you could run on the Windows box (which would give you the info that you need), you could call it in XI via NCPA or NSClient++ .
Be sure to check out our Knowledgebase for helpful articles and solutions!
jsharris
Posts: 123
Joined: Wed Jul 03, 2013 7:00 am

Re: Is anyone monitoring DFSR backlog successfully?

Post by jsharris »

How would I go about feeding the results of the custom script back into Nagios for it to report as normal/warning/critical?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Is anyone monitoring DFSR backlog successfully?

Post by lmiltchev »

Well, you will need to include exit codes logic in the script, then define the command in nsclient.ini, for example:

Code: Select all

myscript = cmd /c echo scripts\custom_script.ps1; exit $LastExitCode | powershell.exe -command -
Test the check from XI:

Code: Select all

./check_nrpe -H <client ip> -c myscript
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked