argument for external script not used by poller

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
popelok
Posts: 1
Joined: Mon Nov 02, 2015 5:01 pm

argument for external script not used by poller

Post by popelok »

I just created my first python script for cacti which is extracting the amount of toner left in my HP 2600n using the printers own webpage.
The script is perfectly working but I am not able to get cacti using an argument when starting my script. poller is starting my script but without any arguments.
I found only one similar question in the forum but no answer yet.
I fixed the problem by including the ip address of the printer directly in the script but I am curious how the argument hand over is normally configured. Even checking for examples from other scripts does not give me a hint, so I am asking you.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests