Re: Poller not running my script

Paul Gevers <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Hi Mark,

[Please don't respond to me in private, the list is there to use it]

On 04-01-13 22:13, mark bradley wrote:
> Hi Paul,
> 
> Thanks for the response. When I do:
> 
>     # su cacti -c "/usr/bin/python /var/lib/cacti/scripts/myscript.py"
> 
> 
> the script works as expected.

And cacti calls it in exactly the same way, I assume. So with the
/usr/bin/python in front? And you are sure that on your system cacti
runs under the cacti user, and not e.g. www-data, such as under Debian
(check your cron job)?

Paul

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912

_______________________________________________
cacti-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cacti-user
signature.asc (application/pgp-signature, 554 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJQ6IeWAAoJEJxcmesFvXUKPV8H/38rcRiwfYE7JdMCEPv2MFm8
UyHxsR/FiSJigWbC6VLlSrvVQw9XqeoE0xRQNQr4c3RD7WegTQspEDIORA3I+u0r
+TbXfS1LfZx/D/ltqkRCu37aMx9MVzFlmk4vT3Cd1Zbn1Ji7jjlPrdcRKn7oLV3W
xD+2OixLSLPsrPM9ZSF6QH/Iympw7TxUfzNbPgreABgSEmsMKRqS8djwMYja7f23
Vexo+N4AzeJ+l5vJKooqphc33jTf5fT7diEZdjMVRiDA+kHrXpY77ATxF2bEfqL3
EA1qdUBrCkLg+9+I/kphUEd2TRU2CSKkSuFyndCkXCTOAn5p6BrRGMho1o/zzo0=
=fLN1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.