Page 1 of 1
Error on Guest Snapshots - Datacenter
Posted: Mon Oct 24, 2016 10:17 am
by sgoffar
We are getting error on Service Check Timed Out On Worker: dallxngxi01.levi.com for Guest Snapshots - Datacenter - DALVDI.
However on running test command from NagiosXI GUI it's returing the value.(attached the output)
As well as running from NagiosXI server also returning the value.(attached the output)
But on GUI console we are getting error. (attached the output)
Can you please help on this.
FYI: All other services are working fine for this host. We are using Nagios XI 2014 2.7 R2
Re: Error on Guest Snapshots - Datacenter
Posted: Mon Oct 24, 2016 12:24 pm
by rkennedy
Could you try adjusting the timeout from --timeout 90 to --timeout 120? If it's working fine through the CLI / test check command, then I believe it'd just be related to timing out.
Re: Error on Guest Snapshots - Datacenter
Posted: Tue Oct 25, 2016 9:50 am
by sgoffar
We are getting same error.
Re: Error on Guest Snapshots - Datacenter
Posted: Tue Oct 25, 2016 11:24 am
by avandemore
What user are you executing this as? You can find it out by typing id at the cli. Please paste the resulting output here.
Re: Error on Guest Snapshots - Datacenter
Posted: Fri Oct 28, 2016 9:39 am
by sgoffar
we are running this using the nagios user.
Re: Error on Guest Snapshots - Datacenter
Posted: Fri Oct 28, 2016 11:57 am
by sgoffar
Can you please confirm whether we can apply Guest Backup at VMWare level. Because it's processing the below data on execution. Which is very large.
As per my understanding. That's the reason it's showing error.
OUTPUT: OK: ['Persistent Workstation - Windows 7 x64' (Notes: Base) (Age: 640)], ['replica-09515219-6643-4317-b643-64c770f2549f' (Notes: snapshot-dd9e8d18-c035-427d-b37a-0bb2cafe267b) (Age: 630)], ['replica-c0993002-1048-4764-80cf-07310737118e' (Notes: snapshot-43360644-f7a8-4a9e-85d6-cbdde1622c27) (Age: 630)], ['replica-eddc77bb-6665-4875-a969-e7ad7f6500ad' (Notes: snapshot-3580e3cc-d554-4dc7-902f-41232f8eb099) (Age: 630)], ['Base - Windows 7 x64' (Notes: Base) (Age: 653)], ['Base - Windows 7 x86' (Notes: Base) (Age: 641)], ['Base - Windows 8.1 x64' (Notes: Base) (Age: 652)], ['Persistent Workstation - Windows 7 x86' (Notes: Base) (Age: 640)], ['ThinApp - Base Windows 7 x64 ThinApp Capture' (Notes: Base Windows 7 x64) (Age: 487)], ['ThinApp - Base Windows XP ThinApp Capture' (Notes: Base - Windows XP x86 - Updates Installed) (Age: 515)], ['Persistent Workstation - Windows 7 x64 v2' (Notes: Sysprep - VCOE 5.15.1 v2) (Age: 479)], ['Persistent Workstation - Windows 7 x86 v2' (Notes: Sysprep - VCOE 5.15.1x86 v2 dvLAN803) (Age: 479)], ['replica-760e62cf-1848-4270-93b6-e49025187b1d' (Notes: snapshot-3c90cc64-59b2-452c-9461-7d1de1434834) (Age: 478)], ['replica-abf8d913-ee26-4d7a-91fd-0cc6cbf5466a' (Notes: snapshot-f97b7d7f-aaf5-4be6-a5e8-8a0b0349c0c7) (Age: 478)], ['replica-1fc1af3c-d5e6-49fd-a1f2-1abba58cf80c' (Notes: snapshot-b3a8043e-8c82-4eb3-9328-61d10c836c97) (Age: 478)], ['replica-3282c53b-3e5d-479c-8e82-413d915e48d0' (Notes: snapshot-a0720d77-c28b-48f4-aaa2-d1ba6f113042) (Age: 478)], ['replica-b465a690-1a75-4f66-ac24-04c8c6d7bdd0' (Notes: snapshot-ef323fb7-9481-4891-8857-fb7b57812aec) (Age: 478)], ['replica-17fd0095-3501-4bb6-8389-2e53257752ca' (Notes: snapshot-5188aad7-b52b-4562-a384-d450f92a0340) (Age: 477)], ['replica-b04d57a9-afd6-41fc-9c2f-a58038fcba5f' (Notes: snapshot-811e32ab-b43c-445f-8607-665adcfec905) (Age: 476)], ['replica-a157a450-b611-47b8-a15b-c5ab555551b4' (Notes: snapshot-f2c38eab-fcc4-45e8-821c-380467560b9a) (Age: 476)], ['replica-fc2f29a2-3056-4acf-b60b-112bcfa88492' (Notes: snapshot-5ac4bf4a-d2b4-4e77-82d5-ccdc62d9ef6d) (Age: 472)], ['replica-e133d753-0969-4218-a797-42752155b59f' (Notes: snapshot-779368d6-abf3-4f9e-a8ff-5feb43b0093f) (Age: 471)], ['replica-3412f601-5bf5-4e24-be94-c68c46cea284' (Notes: snapshot-6036bcec-517b-4cce-bfc9-e072124deeba) (Age: 469)], ['replica-eea46578-5bac-4d01-ba75-15dc91762e6a' (Notes: snapshot-3d8de4d8-bc31-49c6-9e5f-76420917ee08) (Age: 469)], ['replica-60144e03-3c3e-4d86-a676-d163c9f8c55f' (Notes: snapshot-8afac97a-2869-43d2-bf05-4475ae5fde9d) (Age: 469)], ['replica-ff9cef23-087a-4b37-8fc9-c7088bb6a8f9' (Notes: snapshot-687a818b-6ea6-4ef4-bf5d-81e212259fad) (Age: 441)], ['replica-440deefb-9a12-4856-9b1e-ed19c09e8df7' (Notes: snapshot-58847b5d-af89-4695-b58b-0cc4854e4075) (Age: 422)], ['replica-776bcc14-c461-4f46-ba5f-da34810ec939' (Notes: snapshot-0abe6bbe-2fb2-49de-bbca-3081b5aa00db) (Age: 421)], ['replica-7218ebad-b910-4ba4-b73e-6c70481c5327' (Notes: snapshot-2131663c-e616-4223-b3f1-eb5769c64d82) (Age: 408)], ['replica-8c6ee942-1cc3-4c0e-889f-44ce6914a0fc' (Notes: snapshot-ae2f421f-fae0-4009-8c45-8d260bb6c2db) (Age: 290)], ['Non-Persistent Workstation - Windows 7 x64 Thin' (Notes: Base Build) (Age: 248)], ['AppVol - Base Windows 7 x64 AppVol Capture' (Notes: Clean Ready For Capture) (Age: 182)], ['Non-Persistent Workstation - Windows 7 x86 Thin' (Notes: Patched 5-3-2016) (Age: 178)], ['AppVol - Base Windows 7 x86 AppVol Capture' (Notes: Patched 5-3-2016) (Age: 178)], ['Non-Persistent Workstation - Windows 7 x64 Hybrid' (Notes: 6-15-2016) (Age: 135)], ['Non-Persistent Workstation - Windows 7 x86 Hybrid' (Notes: Patched 6-16-2016) (Age: 134)], ['replica-f280570b-80a1-4db8-b937-ffadfc0ec43a' (Notes: snapshot-599d698f-61b9-4a80-96e2-3f2a89bae5e5) (Age: 122)], ['replica-3146e68b-25cd-4837-8924-69cdc9b468cf' (Notes: snapshot-f6ae4e58-2a34-49ae-a577-e204f70911c0) (Age: 109)], ['Non-Persistent Workstation - Windows 7 x64 VCOE5.16.3' (Notes: VCOE5.16.3NP) (Age: 49)], ['replica-1c108301-c061-46ca-b12b-93c906748839' (Notes: snapshot-cd174ff5-9c50-4314-bcf0-7cb70ce5f470) (Age: 16)], ['Non-Persistent Workstation - Windows 7 x86 VCOE5.16.3' (Notes: VCOE5.16.3 x86 v1) (Age: 16)], ['replica-bbe93d2a-d09e-4a38-83a2-1121cad0bc4b' (Notes: snapshot-b95cb3d3-8faf-4fad-8bd5-aec79d535c13) (Age: 15)], ['replica-1923aef1-88e0-49c8-bb7a-894d9c46c857' (Notes: snapshot-4bd01516-3e40-4cd5-8084-65cd43c6c4e2) (Age: 630)], ['replica-08a3420f-d92f-4d7e-af20-05a0597d0476' (Notes: snapshot-773ad266-0d1c-4b99-a5ff-298566e62548) (Age: 630)], ['replica-8a319e5a-f5d6-40e5-816e-2564cfb9ae61' (Notes: snapshot-1a6bc385-bc11-40c5-92a1-83d243939fe1) (Age: 630)], ['replica-21f8bc0f-aff3-4c7a-9665-cc7caa145795' (Notes: snapshot-5faa3ae7-1b5f-46c8-9e19-a45093325ae6) (Age: 630)], ['replica-b7a3f9fa-aebb-4a87-89df-156eb80a3d3e' (Notes: snapshot-5c1e66fa-fe14-4411-a6ce-32a9c7ba4f3a) (Age: 630)], ['replica-368df19e-9c08-4e2d-9bba-de091350bd17' (Notes: snapshot-8e90754f-369e-4e84-a74c-1a3949fc01c0) (Age: 630)], ['replica-1e38b746-3b34-4aa5-949a-b19799bddf99' (Notes: snapshot-fdd9cc7b-95b0-4c20-9adb-229b43ad27e6) (Age: 630)], ['replica-c4094dd0-d9dc-4152-a32c-d6386cb374e6' (Notes: snapshot-755894be-9f0c-41be-bb23-78d78b5ef8eb) (Age: 630)], ['replica-3cfbd424-5a02-46a4-80d9-55d55eb68737' (Notes: snapshot-7dbec047-8072-4fe9-92f9-e843a051cbef) (Age: 630)], ['replica-f4f02f2f-cdc7-4dd2-9a8c-b524dca17077' (Notes: snapshot-1966ac45-15e1-4003-8aa2-5133c9c7a9a8) (Age: 630)], ['replica-7ee56463-779a-42ae-af9c-b18ae188ea21' (Notes: snapshot-cc605600-fbf8-4635-85cd-7093db06dff9) (Age: 630)], ['replica-e78536ac-4b72-40a2-b7e7-e97a9965103f' (Notes: snapshot-6220e7a5-54d1-47c5-8393-e1575b94089c) (Age: 630)], ['replica-07483e29-bae8-45cd-9633-744864ca294e' (Notes: snapshot-10d5528c-013f-49c2-a3f0-9e3ab22b7bd5) (Age: 610)]
Re: Error on Guest Snapshots - Datacenter
Posted: Fri Oct 28, 2016 2:42 pm
by tgriep
The default service check timeout in the nagios.cfg file is probably timing out the command at 60 seconds.
To change this, edit the /usr/local/nagios/etc/nagios.cfg file and change this from
service_check_timeout=60
to
service_check_timeout=120
Save the file and restart nagios by running
service nagios restart
Try that and let us know if it works.