Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probe.conf not generated #4

Open
THiine opened this issue Jan 23, 2019 · 0 comments
Open

probe.conf not generated #4

THiine opened this issue Jan 23, 2019 · 0 comments

Comments

@THiine
Copy link

THiine commented Jan 23, 2019

i build the .spk Package on a mac without any error (Filesize around 68KB, is it possible?)

If i install the Package through the Packagemanager of Synology, the probe.conf isnt generated.
(i had to mkdir the log directory too)

Now i build a probe.conf by myself by this design (from setup.py):

        'name': "Python MiniProbe",
        'gid': str(uuid.uuid4()),
        'server': "<MyServerAddress>",
        'port': "443",
        'baseinterval': "60",
        'key': "<MyAccesKey>",
        'cleanmem': "",
        'announced': "0",
        'protocol': "1",
        'debug': "True",
        'subprocs': "10"

Unfortunately i get following error if i try to start the Probe:
2019/01/23 10:26:39 start PythonMiniProbe 1.0.7 Begin start-stop-status start Starting prtgprobe ... 2019/01/23 10:26:39 start PythonMiniProbe 1.0.7 End start-stop-status start ret=[0] 2019/01/23 10:26:40 start PythonMiniProbe: start version 1.0.7 successfully, result 0 Traceback (most recent call last): File "/usr/local/PythonMiniProbe/miniprobe/probe.py", line 240, in <module> probe = Probe() File "/usr/local/PythonMiniProbe/miniprobe/probe.py", line 61, in __init__ self.key_sha1 = self.mini_probe.hash_access_key(self.config['key']) KeyError: 'key'

Is here anyone who've got this MiniProbe still working?
My DSM Version is 6.2.1-23824 Update 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant