Windows monitoring issues in Zenoss - monitoring

We are running Zenoss 4.2.5 and monitoring all kind of devices. We have an issue with Windows server monitoring; the rrd files are not updating on time. We have been observing the below error messages in all the collectors.
Errors:
2017-07-24 09:31:35,211 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/nsi/state_state
2017-07-24 09:31:35,212 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/nsi/state_state
2017-07-24 09:31:35,213 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/sppsvc/state_state
2017-07-24 09:31:35,214 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/sppsvc/state_state
2017-07-24 09:31:35,215 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/sppsvc/state_state
2017-07-24 09:31:35,216 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/sppsvc/state_state
2017-07-24 09:31:35,217 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/xagt/state_state
2017-07-24 09:31:35,218 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/xagt/state_state
2017-07-24 09:31:35,219 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/xagt/state_state
2017-07-24 09:31:35,220 ERROR zen.RRDUtil: rrdtool reported error rrdcached: illegal attempt to update using time 1500903095.000000 when last update time is 1500903095.000000 (minimum one second step) Devices/10.64.65.78/xagt/state_state
2017-07-24 09:31:41,434 WARNING zen.MicrosoftWindows: receive failure on 10.75.32.13: HTTP status: 400.
2017-07-24 09:31:41,601 WARNING zen.MicrosoftWindows: 10.75.32.13: Windows Perfmon Error on 10.75.32.13: HTTP status: 400.
Zenpython daemon has been restarted many times but nothing is working. These errors are with Windows services, and no other errors are found. We are seeing these errors for almost all the servers.
We are seeing the broken graphs and rrd files are not updating, we are not sure the cause of these issues. But all we can see are these errors in Zenpython log file. All others data collection is running fine except for Windows.
Zenpack: ZenPacks.zenoss.Microsoft.Windows-2.7.0.egg
Regards,
Mohan

Related

FatalErrorException Error: Maximum execution time of 30 seconds exceeded

I'm trying to run my symfony 3.3 project in the docker. It's working fine out of docker. All containers are running: nginx:alpine, php-fpm 7.2, PostgreSQL, rabbitMQ.
I'm receiving this error:
(1/1) FatalErrorException
Error: Maximum execution time of 30 seconds exceeded
in AnalyzeServiceReferencesPass.php (line 71)
at AnalyzeServiceReferencesPass->processValue()
in AnalyzeServiceReferencesPass.php (line 118)
dev.log
request.CRITICAL: Uncaught PHP Exception
Symfony\Component\Debug\Exception\FatalErrorException: "Error: Maximum
execution time of 30 seconds exceeded" at
/var/www/html/vendor/twig/twig/lib/Twig/Extension/Core.php line 710
{"exception":"[object]
(Symfony\Component\Debug\Exception\FatalErrorException(code: 0):
Error: Maximum execution time of 30 seconds exceeded at
/var/www/html/vendor/twig/twig/lib/Twig/Extension/Core.php:710)"}
Its means that your request is very slowly, so you need to increase your max_execution time
max_execution_time = 900 or ini_set('max_execution_time', 900);
or change driver of request
also check if you have a infinite cycles
RUN echo "max_execution_time=900" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini line added to Docker file made it work.

Xcode not opening after updating to MacOS Catalina [duplicate]

This question already has answers here:
MobileDevice.pkg untrusted, cannot open Xcode after OS X update
(11 answers)
Closed 3 years ago.
I updated to MacOS Catalina and now my Xcode is not opening. I get this prompt:
Which leads to this error after getting root access:
There is a huge log but the key errors are:
2019-11-04 12:39:48+05 tk_lpt_0141_wifi Xcode[1214]: Package:
PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package “MobileDeviceDevelopment.pkg” is untrusted."
UserInfo={NSLocalizedDescription=The package
“MobileDeviceDevelopment.pkg” is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7fe07012cad0 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}} 2019-11-04
13:01:20+05 tk_lpt_0141_wifi Xcode[1306]: Package: PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package “MobileDeviceDevelopment.pkg” is untrusted."
UserInfo={NSLocalizedDescription=The package
“MobileDeviceDevelopment.pkg” is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7fd230cb1ae0 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}} 2019-11-04
13:29:51+05 tk_lpt_0141_wifi Xcode[1377]: Package: PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package “MobileDeviceDevelopment.pkg” is untrusted."
UserInfo={NSLocalizedDescription=The package
“MobileDeviceDevelopment.pkg” is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7f8ab8ba9380 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}}
I have already tried:
xcode-select --install
and
xcode-select --reset
Has anyone else run into this issue? How to fix it?
First, try updating Xcode through the app store
As a last resort, you can change your MacOS Date to
1st October 2019
I set my system time to 1st October 2019, the date when the certificate was still valid. Then, I opened Xcode and followed the component install. This went well, and now Xcode works again.
Edit and set the date of your Mac as 1st October 2019.
What worked for me was updating Xcode in the App Store. After that I was able to install the additional components successfully.

TFS plugin giving error after jenkins upgrade

I have upgraded jenkins from 2.60.1 to 2.150.1. After upgrade I am getting the below error while getting the code from TFS. I have upgraded the TFS plugin also.
FATAL: java.lang.RuntimeException:
com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:117)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:987)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:665)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)
at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1170)
at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3067)
Caused: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
As I remember, TFS have the issue with path length - it cannot be more than 260 symbols, so try to use custom workspace for your job with a small name (like C:\tfs_checkout) to reduce the number of symbols in your path.

Rails Assets intermittent Timeout https://rails-assets.org

Intermittently getting error when doing bundle install for this and also on Continuous Integration server.
Retrying dependency api due to error (4/4): Bundler::HTTPError Network error while fetching https://rails-assets.org/api/v1/dependencies?gems=rails-assets-angular%2Crails-assets-bootstrap-2.3.2%2Crails-assets-bootstrap-3%2Crails-assets-jasmine%2Crails-assets-jqueryjs%2Crails-assets-rainbow%2Crails-assets-typeahead.js (too many connection resets (due to Net::ReadTimeout - Net::ReadTimeout) after 0 requests on 70190348894440, last used 22.186127 seconds ago)
It's likely maintenance happens every once and awhile (especially this late) although they have definitely had downtime before (see https://github.com/tenex/rails-assets/issues/329).
Doing a simple curl you can see they simply aren't responding to any requests:
$ curl 'https://rails-assets.org/api/v1/dependencies?gems=rails-assets-angular%2Crails-assets-bootstrap-2.3.2%2Crails-assets-bootstrap-3%2Crails-assets-jasmine%2Crails-assets-jqueryjs%2Crails-assets-rainbow%2Crails-assets-typeahead.js' -D - --max-time 10
curl: (28) Operation timed out after 10004 milliseconds with 0 bytes received

Crash on xcode 5.0.2 while starting

I just downloaded xcode 5.0.2 and while opening initially the Open Project Screen came. Then i closed xcode and after that i tried to start it but it was crashing straight away. I found out the following logs on Console App
21/11/13 7:56:41.000 pm kernel[0]: CODE SIGNING: cs_invalid_page(0x7fff946ac000): p=2190[Xcode] final status 0x1000200, denying page sending SIGKILL
21/11/13 7:56:41.000 pm kernel[0]: CODESIGNING: vm_fault_enter(0x7fff946ac000): page 0xffffff80103b61d8 obj 0xffffff802b7a17a0 off 0x10aad000 *** INVALID PAGE ***
21/11/13 7:56:41.806 pm ReportCrash[2193]: Trying to extract VM information using cr2
21/11/13 7:56:41.855 pm com.apple.launchd.peruser.503[476]: (com.apple.dt.Xcode.72720[2190]) Exited: Killed: 9
21/11/13 7:56:42.286 pm ReportCrash[2193]: Saved crash report for Xcode[2190] version 5.0.2 (3335.32) to /Users/arpit/Library/Logs/DiagnosticReports/Xcode_2013-11-21-195642_Aruns-MacBook-Pro.crash
21/11/13 7:56:42.289 pm ReportCrash[2193]: Removing excessive log: file:///Users/arpit/Library/Logs/DiagnosticReports/Xcode_2013-11-21-183407_Aruns-MacBook-Pro.crash
Any help regarding this?
I also found this link regarding the same issue
https://discussions.apple.com/message/23562146#23562146
Is your previous version of Xcode synced to any version control such as git hub or svn ?
Is you open the project it will ask for upgrade just upgrade it you will not get the issue again.Give a try same happened to me as well i tried the same.
you can also refer the link for the same in Xcode 4.2
Xcode 4.0.2 Crashes on launch

Resources