Thank you Scott but another question. I able to use this in my nrpe config file to monitor users on a Windows machine?
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
Search found 9 matches
- Fri Oct 11, 2019 9:09 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
- Fri Oct 11, 2019 8:49 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
Same error:
'query' is not recognized as an internal or external command,
operable program or batch file.
OK: 0 users logged in
Active Sessions:
'query' is not recognized as an internal or external command,
operable program or batch file.
OK: 0 users logged in
Active Sessions:
- Fri Oct 11, 2019 8:45 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
Awesome so that worked for the -a flag error. But we are back at the original error when I run "./check_nrpe -H 192.168.0.99 -c check_users -a 2 3 'cadprod.com\administrator' ": ******************* 'query' is not recognized as an internal or external command, operable program or batch file...
- Fri Oct 11, 2019 8:40 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
I have the updated one attached.
But another question, am I able to use this:
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
Found in my nrpe config? Do I have to use an external script to monitor users on a Windows machine?
But another question, am I able to use this:
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
Found in my nrpe config? Do I have to use an external script to monitor users on a Windows machine?
- Fri Oct 11, 2019 8:27 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
Getting the exact same error and the same log entry after allowing nasty chars in external scripts.
- Fri Oct 11, 2019 8:21 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
After allowing nasty characters I get "Arguments not allowed see nsclient.log for details" and the error in the log is: 2019-10-11 09:17:23: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/externa...
- Fri Oct 11, 2019 8:17 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
Actually I missed a line in the OP from the first error. The full error is: 'query' is not recognized as an internal or external command, operable program or batch file. Argument "$ARG1$" isn't numeric in numeric ge (>=) at (eval 24) line 41. Argument "$ARG2$" isn't numeric in nu...
- Fri Oct 11, 2019 8:11 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Re: Using NRPE to Count Users Signed in Help
I pull the error "Exception processing request: Request command contained illegal metachars!" which I have noticed previously when I use the -a option.
If I don't include -a I pull the same error from the OP.
If I don't include -a I pull the same error from the OP.
- Fri Oct 11, 2019 7:25 am
- Forum: Open Source Nagios Projects
- Topic: Using NRPE to Count Users Signed in Help
- Replies: 17
- Views: 2895
Using NRPE to Count Users Signed in Help
Hi everyone I am relatively new to Nagios however over the past month I have gotten it up and running to ping our devices on the network. Next step is to count the number of users we have signed into our server farm and it's giving me some trouble. For reference I have used this https://support.nagi...