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

naemon_group is deprecated #145

Closed
nook24 opened this issue Jul 27, 2016 · 1 comment
Closed

naemon_group is deprecated #145

nook24 opened this issue Jul 27, 2016 · 1 comment

Comments

@nook24
Copy link
Member

nook24 commented Jul 27, 2016

Hi,
Naemon 1.0.5 reports me the following issues:
Warning: naemon_group is deprecated and will be removed. Naemon is compiled to be run as naemon:www-data
Warning: naemon_user is deprecated and will be removed. Naemon is compiled to be run as naemon:www-data

My question is, is there a way to query the user, wich was set in the configure if this deprecated message is gone?
The problem is, my Statusengine GUI depends on this value, to check if it is able to write to naemon.cmd and print a helpful error messages not just "Permissions denied" :)

@nook24
Copy link
Member Author

nook24 commented Feb 9, 2023

I'm closing this due to i don't use naemon.cmd or naemon.qh anymore to pass external commands to Naemon. Just in case someone finds this through a search engine, I use the Statusengine Broker to pass external commands now. This feature is undocumented so you need to read the source code:
https://github.com/statusengine/broker/blob/c21bbf240638e2e40f046d3a73614c48f4452190/src/MessageHandler/MessageHandler.h#L126-L136

@nook24 nook24 closed this as completed Feb 9, 2023
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