Nagios sending multiple notifications insted of one
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
Hi,
yes is is set.
define contact {
contact_name nagiosadmin
alias Nagios Administrator
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,
service_notification_options w,c,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
retain_status_information 1
retain_nonstatus_information 1
email xxx
use xi_contact_generic
}
I'm recieving multiple critical notifications. unknown are disabled anyways. (-t 59 is now added)
i'll send you the rest via PM
yes is is set.
define contact {
contact_name nagiosadmin
alias Nagios Administrator
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period xi_timeperiod_24x7
service_notification_period xi_timeperiod_24x7
host_notification_options d,u,
service_notification_options w,c,
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
retain_status_information 1
retain_nonstatus_information 1
email xxx
use xi_contact_generic
}
I'm recieving multiple critical notifications. unknown are disabled anyways. (-t 59 is now added)
i'll send you the rest via PM
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
unfortunate adding the -t 59 parameter to increase the timeout for the check wasnt helpful
Re: Nagios sending multiple notifications insted of one
Login to XI and go to the Core Config Manager > Commands menu and edit this commsnd
Change the command line from
to
Save the change and edit one of the services and add the following to $ARG2$
Save the change and Apply the Ccnfig.
That will setup a filter for the check to alleviate the unknown error for checking the \Volume partition.
Let is run for a while and see if the issue is resolved.
Code: Select all
check_nrpe_checkdrivesize_windowsCode: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ $ARG2$Code: Select all
-a drive=*That will setup a filter for the check to alleviate the unknown error for checking the \Volume partition.
Let is run for a while and see if the issue is resolved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
I hope you got the PM ?.
Re: Nagios sending multiple notifications insted of one
Sorry, did you send another PM to me? The only one I received is for the nsclient.ini file.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
Was the last week off.
I've now changed the settings to "-a drive=*"
lets wait for clarification
I've now changed the settings to "-a drive=*"
lets wait for clarification
Re: Nagios sending multiple notifications insted of one
Let us know if you have any further questions or that the change worked.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
Hi all.
Unfortunatly there is no improvement.
What kind of add-infos can I send you for further analysis?
Regards
Unfortunatly there is no improvement.
What kind of add-infos can I send you for further analysis?
Regards
Re: Nagios sending multiple notifications insted of one
Are you still receiving this message when the check runs?
Or has the message changed to a different output?
Can you post it here so we can view it?
Also, when the message happens, can you get the nsclient.log file from the windows system so we can check it for any errors?
One more thing to try, upgrade to the latest stable 0.5.2.xx version of NSClient++ in case there is a bug.
https://nsclient.org/download/
Code: Select all
Check All Disks_1;UNKNOWN;HARD;5;Filter processing failed: Failed to get size for \\?\Volume{92XXXXXXe6963}\: 57: The parameter is incorrectCan you post it here so we can view it?
Also, when the message happens, can you get the nsclient.log file from the windows system so we can check it for any errors?
One more thing to try, upgrade to the latest stable 0.5.2.xx version of NSClient++ in case there is a bug.
https://nsclient.org/download/
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
supportagilita
- Posts: 12
- Joined: Thu May 24, 2018 3:26 am
Re: Nagios sending multiple notifications insted of one
Hi,
yes I'm still recieving those messages.
Aug 20 10:53:36 nagiosxi: SERVICE ALERT: windowsserver;Check All Disks_1;UNKNOWN;SOFT;4;Filter processing failed: Failed to get size for \\?\Volume{04c64a56-290f-11e8-80b4-806e6f6e6963}\: 57: The parameter is incorrect.
If I'm doing it over CLI there are no errors.
/usr/local/nagios/libexec/check_nrpe -H windowsserver -c check_drivesize -t 59 -a drive=*
OK All 3 drive(s) are ok|'C:\ used'=31.46598GB;31.72499;35.69062;0;39.65624 'C:\ used %'=79%;80;90;0;100 'A:\ used'=0B;0;0;0;0 'D:\ used'=0B;0;0;0;0
My nsclient.log lookes like:
2019-08-20 11:22:53: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: short read: 219
2019-08-20 11:27:52: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: short read: 219
2019-08-20 11:32:51: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: asio.ssl error: 219
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:37:50: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: asio.ssl error: 219
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
Settings see attachment
I'm running NSCP-0.5.2.35
Regards
yes I'm still recieving those messages.
Aug 20 10:53:36 nagiosxi: SERVICE ALERT: windowsserver;Check All Disks_1;UNKNOWN;SOFT;4;Filter processing failed: Failed to get size for \\?\Volume{04c64a56-290f-11e8-80b4-806e6f6e6963}\: 57: The parameter is incorrect.
If I'm doing it over CLI there are no errors.
/usr/local/nagios/libexec/check_nrpe -H windowsserver -c check_drivesize -t 59 -a drive=*
OK All 3 drive(s) are ok|'C:\ used'=31.46598GB;31.72499;35.69062;0;39.65624 'C:\ used %'=79%;80;90;0;100 'A:\ used'=0B;0;0;0;0 'D:\ used'=0B;0;0;0;0
My nsclient.log lookes like:
2019-08-20 11:22:53: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: short read: 219
2019-08-20 11:27:52: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: short read: 219
2019-08-20 11:32:51: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: asio.ssl error: 219
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:33:24: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:37:50: error:c:\source\master\include\socket/connection.hpp:276: Failed to establish secure connection: asio.ssl error: 219
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
2019-08-20 11:39:18: error:c:\source\master\modules\CheckExternalScripts\CheckExternalScripts.cpp:360: Arguments not allowed in CheckExternalScripts set /settings/external scripts/allow arguments=true
Settings see attachment
I'm running NSCP-0.5.2.35
Regards
You do not have the required permissions to view the files attached to this post.