Search found 644 matches

by kwhogster
Thu Mar 26, 2020 7:38 am
Forum: Open Source Nagios Projects
Topic: Command checkveeambu didn't terminate within the timeout per
Replies: 20
Views: 12629

Re: Command checkveeambu didn't terminate within the timeout

Update I found NRPE.CFG made this change # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. #command_timeout=60 command_timeout=150 # CONNECTION TIMEOUT # This specifies the maximum number of seconds...
by kwhogster
Wed Mar 25, 2020 9:39 pm
Forum: Open Source Nagios Projects
Topic: Command checkveeambu didn't terminate within the timeout per
Replies: 20
Views: 12629

Re: Command checkveeambu didn't terminate within the timeout

Box293 Thanks for the reply. I thought the -T increase the timeout in one of my examples I had -T 240 Is there another setting? This is CORE not XI Thanks Tom In my Nagios.cfg TIMEOUT VALUES # These options control how much time Nagios will allow various # types of commands to execute before killing...
by kwhogster
Wed Mar 25, 2020 4:28 pm
Forum: Open Source Nagios Projects
Topic: Command checkveeambu didn't terminate within the timeout per
Replies: 20
Views: 12629

Command checkveeambu didn't terminate within the timeout per

Using Nagios Core 4.3.4 I have two Windows servers 2012 R2 and 2016 both run Veeam B&R 10 I have a powershell script to check the backup jobs replication jobs and copy jobs. The same script is on both servers. On the 2016 server I am getting the following errors Host: TGCS024 Service: Win 12 VM ...
by kwhogster
Tue Jan 07, 2020 4:21 pm
Forum: Open Source Nagios Projects
Topic: New Script to check jobs returning Blank from Nagios Check
Replies: 9
Views: 3579

Re: New Script to check jobs returning Blank from Nagios Che

Thank you

I will document it and post

You can lock this one as resolved.

Thanks

Tom
by kwhogster
Tue Jan 07, 2020 2:39 pm
Forum: Open Source Nagios Projects
Topic: New Script to check jobs returning Blank from Nagios Check
Replies: 9
Views: 3579

Re: New Script to check jobs returning Blank from Nagios Che

Guys I got this working now.

changed the "$results = """ to this write-host $Name $Status $Progress $LastResult

I would like to post this script so that other can use this as a plugin.

Can you tell me how I can do that?

Thank you

Tom
by kwhogster
Mon Jan 06, 2020 2:29 pm
Forum: Open Source Nagios Projects
Topic: New Script to check jobs returning Blank from Nagios Check
Replies: 9
Views: 3579

Re: New Script to check jobs returning Blank from Nagios Che

root@tgcs017:/usr/local/nagios/etc/objects/windowsservers# /usr/lib/nagios/plugi
No output available from command (checkveeamcopy).


Now I get this
by kwhogster
Fri Jan 03, 2020 5:06 pm
Forum: Open Source Nagios Projects
Topic: New Script to check jobs returning Blank from Nagios Check
Replies: 9
Views: 3579

Re: New Script to check jobs returning Blank from Nagios Che

$name = $args[0] if ((Get-PSSnapin -Name VeeamPSSNapin -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin VeeamPSSNapin } $JobNames = Get-VBRJob -Name $name foreach ($JobName in $JobNames) { $Job = Get-VBRJob -name $JobName.Name $LastSession = $Job.FindLastSession() $Name = $Job.Name $Status ...
by kwhogster
Fri Jan 03, 2020 3:50 pm
Forum: Open Source Nagios Projects
Topic: New Script to check jobs returning Blank from Nagios Check
Replies: 9
Views: 3579

New Script to check jobs returning Blank from Nagios Check

Trying to write a script so that Nagios can check My Veeam Backup Copy Jobs My command line /usr/lib/nagios/plugins/check_nrpe -t 50 -H TGCS008 -c checkveeamcopy -a 'Exchange Backup Copy Job' My Nsclient.ini ; check veeam copy jobs checkveeamcopy = cmd /c echo scripts/powershell/check_veeam_backups....
by kwhogster
Mon Nov 04, 2019 2:19 pm
Forum: Open Source Nagios Projects
Topic: Cluster Service Check Fails
Replies: 11
Views: 4054

Re: Cluster Service Check Fails

Hi I was missing this check on both nodes. define service{ use generic-service host_name hostname service_description MSSQLSHAREPOINT servicegroups Services check_command check_nrpe!check_winservice! -a '--service MSSQL$$SHAREPOINT' check_period backup_period notification_period backup_period } ] No...
by kwhogster
Mon Nov 04, 2019 12:14 pm
Forum: Open Source Nagios Projects
Topic: Cluster Service Check Fails
Replies: 11
Views: 4054

Re: Cluster Service Check Fails

Did you review my service check in my first posting?

That is the only place I have the definition located.


also do you know of a way I can manually check this ?