zenoss/zminion — pull request #6 by wplu (2014-09-19 19:39:57+00:00)
Title: increase command timeout to 3600 (1 hour)

DEMO1 - starting zminion shows desired default timeout of 1 hour:
```
root@ip-10-111-2-126:~# serviced service attach zminion
Password:
bash-4.2# su - zenoss
Last login: Fri Sep 19 18:49:49 UTC 2014
[zenoss@bf91f6d05084 ~]$ /opt/zenoss/bin/zminion --minion-name zminion_localhost serve
W0919 18:54:08.531271 00824 main.go:307] calling BLPOP of minion-send-zminion_localhost waiting 3600 seconds
I0919 18:56:06.420446 00824 main.go:313] len(response) = 2
```

DEMO - jobs log from RM UI when adding device shows success for long running modeling of a device:
```
Log file: /opt/zenoss/log/jobs/f7983d1f-25fb-4376-9f9d-4f51f57a28ee.log

2014-09-19 18:56:06,292 INFO zen.Job: Job f7983d1f-25fb-4376-9f9d-4f51f57a28ee (Products.Jobber.jobs.SubprocessJob) received
2014-09-19 18:56:06,339 INFO zen.Job: Starting job f7983d1f-25fb-4376-9f9d-4f51f57a28ee (Products.Jobber.jobs.SubprocessJob)
2014-09-19 18:56:06,339 INFO zen.Job: Spawning subprocess: zminion -minion-name zminion_localhost run -- /opt/zenoss/bin/zendisc run --now -d 10.111.2.126 --monitor localhost --deviceclass /ControlCenter --prod_state 1000

I0919 18:56:06.410788 04438 main.go:88] waiting for response for zminion-return-9407abac-fd60-509a-6671-60ca3ec440fe
2014-09-19 18:56:14,921 INFO zen.ZenDisc: Connecting to localhost:8789
2014-09-19 18:56:14,950 INFO zen.ZenDisc: Connected to ZenHub
2014-09-19 18:56:15,519 INFO zen.ZenDisc: Looking for 10.111.2.126
2014-09-19 18:56:23,534 INFO zen.ZenDisc: Result: Discovered device 10.111.2.126.
2014-09-19 18:56:23,562 INFO zen.ZenDisc: skipping WMI-based collection, PySamba zenpack not installed
2014-09-19 18:56:23,572 INFO zen.ZenDisc: Python collection device 10.111.2.126
2014-09-19 18:56:23,572 INFO zen.ZenDisc: plugins: zenoss.ControlCenter
2014-09-19 18:56:23,572 INFO zen.ControlCenter.model: 10.111.2.126: Collecting data
2014-09-19 18:56:23,575 INFO zen.ZenDisc: No command plugins found for 10.111.2.126
2014-09-19 18:56:23,575 INFO zen.ZenDisc: SNMP monitoring off for 10.111.2.126
2014-09-19 18:56:23,575 INFO zen.ZenDisc: No portscan plugins found for 10.111.2.126
2014-09-19 18:56:36,162 INFO zen.PythonClient: Python client finished collection for 10.111.2.126
2014-09-19 18:56:36,162 INFO zen.ControlCenter.model: 10.111.2.126: Processing data
2014-09-19 18:58:48,298 INFO zen.ZenDisc: Changes in configuration applied
2014-09-19 18:58:48,298 INFO zen.ZenDisc: Scan time: 144.76 seconds
2014-09-19 18:58:48,306 INFO zen.ZenDisc: Daemon ZenDisc shutting down
2014-09-19 18:58:48,314 INFO zen.publisher: publishing failed: [>]
2014-09-19 18:58:48,314 INFO zen.publisher: queue still contains 3 metrics
2014-09-19 18:58:48,931 INFO zen.Job: Job f7983d1f-25fb-4376-9f9d-4f51f57a28ee finished with result 0
```

DEMO - zenjobs log:
```
2014-09-19 18:56:04,130 INFO celery.worker.consumer: Got task from broker: Products.ZenModel.ZDeviceLoader.CreateDeviceJob[996b8857-0944-4895-ab3a-0fe8dbe5ebb0]
2014-09-19 18:56:05,170 INFO zen.Device: device name '10.111.2.126' for ip '10.111.2.126'
2014-09-19 18:56:05,356 INFO zen.Device: 10.111.2.126's IP address has been set to 10.111.2.126.
2014-09-19 18:56:05,356 INFO zen.Device: setting title to '10.111.2.126'
2014-09-19 18:56:05,365 INFO zen.Device: setting performance monitor to 'localhost'
2014-09-19 18:56:05,629 INFO celery.worker.consumer: Got task from broker: Products.Jobber.jobs.SubprocessJob[f7983d1f-25fb-4376-9f9d-4f51f57a28ee]
2014-09-19 18:56:05,766 INFO celery.worker.job: Task Products.ZenModel.ZDeviceLoader.CreateDeviceJob[996b8857-0944-4895-ab3a-0fe8dbe5ebb0] succeeded in 1.59445500374s: '/zport/dmd/Devices/ControlCenter/devices/10.1...
2014-09-19 18:58:49,430 INFO celery.worker.job: Task Products.Jobber.jobs.SubprocessJob[f7983d1f-25fb-4376-9f9d-4f51f57a28ee] succeeded in 163.792385101s: 0
```