TECHZEN Zenoss User Community ARCHIVE  

Metrics collection not working when we run zenpython in background (ie: zenpytho ...

Subject: Metrics collection not working when we run zenpython in background (ie: zenpython start)
Author: [Not Specified]
Posted: 2015-03-05 06:26

Metrics collection not working when we run zenpython in background (ie: zenpython start). But when we run zenpython in foreground ie: zenpython run -d 10.30.30.1 -v10 my rrd gets updated and i can able to get graphs and events in my zen dashboard. but when i run as service my rrd not gets updated but i can able to see my zenpython logs (/opt/zenoss/log/zenpython.log ) as below . It means its shows as metrics got collected successfully.. but still i dont see any changes in ui and last modified time in the rrd files (/opt/zenoss/perf/Devices/10.30.30.1)

2015-03-05 17:38:55,562 INFO zen.maintenance: Performing periodic maintenance
2015-03-05 17:38:55,563 INFO zen.zenpython: Counter eventCount, value 24134
2015-03-05 17:38:55,564 INFO zen.zenpython: 1 devices processed (36 datapoints)
2015-03-05 17:38:55,564 INFO zen.collector.scheduler: Tasks: 2 Successful_Runs: 2 Failed_Runs: 0 Missed_Runs: 1 Queued_Tasks: 0 Running_Tasks: 1

Note:
1. we have tried more than 3 zenpacks all has the same issue
2. Zenoss version 4.2.5

Any help in this is really appreciated



Subject: have you updated to the
Author: Andrew Kirch
Posted: 2015-03-06 07:21

have you updated to the latest zenpython

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: ZenPython was leveraged
Author: Andrew Kirch
Posted: 2015-03-09 09:22

ZenPython was leveraged heavily in the new Windows ZP. This means that we're finding and fixing a lot of bugs. Updating it requires downloading it from the ZenPack Directory (wiki.zenoss.org), and installing it from the CLI with zenpack --install

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: same problem for me, I asked
Author: Charles Bueche
Posted: 2015-11-04 10:08

same problem for me, I asked for help in the "Discuss" part of http://wiki.zenoss.org/ZenPack:PythonCollector
Any idea Running the latest zenpython...



Subject: a quick report on this, yes
Author: Charles Bueche
Posted: 2015-11-08 04:20

a quick report on this, yes Jane, it needed a complete restart. But even after the restart, it took quite long to actually get data again. The SNMP collection starts immediately, zenpython sometimes take 30 min and even more to collect something.

Truly said, we have had numerous issues with Windows monitoring, probably due to the over-complexity of WinRM, Zenpython, Windows policies, courageous Windows admins, etc. We are considering moving away to nsclient and a new zenpack around it. Simpler, less features, less pain. Not sure yet if we can publish the zenpack, will try to get the ok from my customer.

Charles



< Previous
Daemon for removed zenpack is showing down
  Next
Help Needed in creating relationships for a Zenpack
>