Record the output of chef-client in nodes

Hi

I want to monitor the outputs of chef-client that is run on the nodes from the
chef-server. Is there any provision to do the logging?

Thanks

Check our Chef Reporting:
https://docs.getchef.com/reporting.html

On Monday, September 22, 2014, anjumr06@gmail.com wrote:

Hi

I want to monitor the outputs of chef-client that is run on the nodes from
the
chef-server. Is there any provision to do the logging?

Thanks

--

Tom Duffield — Software Development Engineer

651.769.7497 – tom@getchef.com – *my: *Linkedin
http://www.linkedin.com/in/thomasduffield Twitter
http://www.twitter.com/tomduffield
CHEF

GETCHEF.COM http://www.getchef.com/

TM

getchef.com http://www.getchef.com/ Blog
http://www.opscode.com/blog/ Facebook
https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef

Hi

But does this Chef Reporting works for Open source chef-server?

I'm using chef-server-11.

I installed knife reporting plugin using the command :
/opt/chef/embedded/bin/gem install knife-reporting

But when i executed the knife runs list command, I'm getting this error,

ERROR: The object you are looking for could not be found
Response: 404 Not Found

Not
Found

The requested document was not found on this
server.


mochiweb+webmachine web
server

On Mon, Sep 22, 2014 at 7:11 PM, Tom Duffield tom@getchef.com wrote:

Check our Chef Reporting:
https://docs.getchef.com/reporting.html

On Monday, September 22, 2014, anjumr06@gmail.com wrote:

Hi

I want to monitor the outputs of chef-client that is run on the nodes
from the
chef-server. Is there any provision to do the logging?

Thanks

--

Tom Duffield — Software Development Engineer

651.769.7497 – tom@getchef.com – *my: *Linkedin
http://www.linkedin.com/in/thomasduffield Twitter
http://www.twitter.com/tomduffield
CHEF

GETCHEF.COM http://www.getchef.com/

TM

getchef.com http://www.getchef.com/ Blog
http://www.opscode.com/blog/ Facebook
https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef

--
Regards,

Anju M R

No, reporting is only in Enterprise Chef 11 or Chef Server 12 (in 12, there
is no longer a distinction between open source & commercial; it's the same
code base with premium features that you can turn on and off)

  • Julian

On Tue, Sep 23, 2014 at 6:44 AM, Anju M R anjumr.06@gmail.com wrote:

Hi

But does this Chef Reporting works for Open source chef-server?

I'm using chef-server-11.

I installed knife reporting plugin using the command :
/opt/chef/embedded/bin/gem install knife-reporting

But when i executed the knife runs list command, I'm getting this error,

ERROR: The object you are looking for could not be found
Response: 404 Not Found

Not
Found

The requested document was not found on this
server.


mochiweb+webmachine web
server

I installed Cher-server 12, but I'm not able to get the web ui (
https://chef-server-ip).

But it displays

Chef Server API**This is the main endpoint for all of the Chef API's. In
general, none of these have any HTML representations, and the vast majority
of them require that you are sending properly authenticated requests. So
while it's neat that you came to visit, you probably won't find what you
are looking for here. You can manage your organization's infrastructure
interactively using the Chef Management Console
https://manage.opscode.com/

On Tue, Sep 23, 2014 at 6:14 PM, Julian C. Dunn jdunn@aquezada.com wrote:

No, reporting is only in Enterprise Chef 11 or Chef Server 12 (in 12,
there is no longer a distinction between open source & commercial; it's the
same code base with premium features that you can turn on and off)

  • Julian

On Tue, Sep 23, 2014 at 6:44 AM, Anju M R anjumr.06@gmail.com wrote:

Hi

But does this Chef Reporting works for Open source chef-server?

I'm using chef-server-11.

I installed knife reporting plugin using the command :
/opt/chef/embedded/bin/gem install knife-reporting

But when i executed the knife runs list command, I'm getting this error,

ERROR: The object you are looking for could not be found
Response: 404 Not Found

Not
Found

The requested document was not found on this
server.


mochiweb+webmachine web
server

--
Regards,

Anju M R

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general, none of
these have any HTML representations, and the vast majority of them require
that you are sending properly authenticated requests. So while it's neat
that you came to visit, you probably won't find what you are looking for
here. You can manage your organization's infrastructure interactively using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

I installed chef-manage

$ chef-server-ctl install opscode-manage

and then:

$ opscode-manage-ctl reconfigure

But still I'm not able to get the Web UI. The Web UI url is as same as the
older versions? https://?

On Tue, Sep 23, 2014 at 8:05 PM, Julian C. Dunn jdunn@aquezada.com wrote:

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general, none of
these have any HTML representations, and the vast majority of them
require
that you are sending properly authenticated requests. So while it's neat
that you came to visit, you probably won't find what you are looking for
here. You can manage your organization's infrastructure interactively
using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

Documentation might be wrong. I believe you are going to need to
chef-server-ctl reconfigure as well to pick up the new nginx rules.

  • Julian

On Wed, Sep 24, 2014 at 2:08 AM, Anju M R anjumr.06@gmail.com wrote:

I installed chef-manage

$ chef-server-ctl install opscode-manage

and then:

$ opscode-manage-ctl reconfigure

But still I'm not able to get the Web UI. The Web UI url is as same as the
older versions? https://?

On Tue, Sep 23, 2014 at 8:05 PM, Julian C. Dunn jdunn@aquezada.com wrote:

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general, none of
these have any HTML representations, and the vast majority of them
require
that you are sending properly authenticated requests. So while it's neat
that you came to visit, you probably won't find what you are looking for
here. You can manage your organization's infrastructure interactively
using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

opscode-manage-ctl reconfigure should restart Chef server's nginx if its
own nginx configuration changes (which should happen after you install
it.), which should pick up the new nginx rules (manage adds files that the
nginx configuration loads in /var/opt/opscode/nginx/etc/addon.d.)

Julian's step of running chef-server-ctl reconfigure might work, or
chef-server-ctl restart nginx.

Are you still getting the page you got before you installed manage?

On Wed, Sep 24, 2014 at 7:33 PM, Julian C. Dunn jdunn@aquezada.com wrote:

Documentation might be wrong. I believe you are going to need to
chef-server-ctl reconfigure as well to pick up the new nginx rules.

  • Julian

On Wed, Sep 24, 2014 at 2:08 AM, Anju M R anjumr.06@gmail.com wrote:

I installed chef-manage

$ chef-server-ctl install opscode-manage

and then:

$ opscode-manage-ctl reconfigure

But still I'm not able to get the Web UI. The Web UI url is as same as
the
older versions? https://?

On Tue, Sep 23, 2014 at 8:05 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general, none
of
these have any HTML representations, and the vast majority of them
require
that you are sending properly authenticated requests. So while it's
neat
that you came to visit, you probably won't find what you are looking
for
here. You can manage your organization's infrastructure interactively
using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Nathan L Smith
smith@getchef.com
(319) 339-0466

Thanks Julian, now I'm able to access the UI.

Now I have doubt regarding adding workstation server.

I installed chef, rpm -Uvh chef-11.16.2-1.el6.x86_64.rpm

knife configure -i from the chef-repo folder, but I'm getting this error

ERROR: Your private key could not be loaded from
/etc/chef-server/admin.pem

On Thu, Sep 25, 2014 at 11:12 AM, Nathan L Smith smith@getchef.com wrote:

opscode-manage-ctl reconfigure should restart Chef server's nginx if its
own nginx configuration changes (which should happen after you install
it.), which should pick up the new nginx rules (manage adds files that the
nginx configuration loads in /var/opt/opscode/nginx/etc/addon.d.)

Julian's step of running chef-server-ctl reconfigure might work, or
chef-server-ctl restart nginx.

Are you still getting the page you got before you installed manage?

On Wed, Sep 24, 2014 at 7:33 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

Documentation might be wrong. I believe you are going to need to
chef-server-ctl reconfigure as well to pick up the new nginx rules.

  • Julian

On Wed, Sep 24, 2014 at 2:08 AM, Anju M R anjumr.06@gmail.com wrote:

I installed chef-manage

$ chef-server-ctl install opscode-manage

and then:

$ opscode-manage-ctl reconfigure

But still I'm not able to get the Web UI. The Web UI url is as same as
the
older versions? https://?

On Tue, Sep 23, 2014 at 8:05 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general,
none of
these have any HTML representations, and the vast majority of them
require
that you are sending properly authenticated requests. So while it's
neat
that you came to visit, you probably won't find what you are looking
for
here. You can manage your organization's infrastructure interactively
using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Nathan L Smith
smith@getchef.com
(319) 339-0466

--
Regards,

Anju M R

Is adding a chef workstation and chef nodes same as that of open source
chef 11?

Then where can i find the .pem files?

On Thu, Sep 25, 2014 at 2:08 PM, Anju M R anjumr.06@gmail.com wrote:

Thanks Julian, now I'm able to access the UI.

Now I have doubt regarding adding workstation server.

I installed chef, rpm -Uvh chef-11.16.2-1.el6.x86_64.rpm

knife configure -i from the chef-repo folder, but I'm getting this error

ERROR: Your private key could not be loaded from
/etc/chef-server/admin.pem

On Thu, Sep 25, 2014 at 11:12 AM, Nathan L Smith smith@getchef.com
wrote:

opscode-manage-ctl reconfigure should restart Chef server's nginx if
its own nginx configuration changes (which should happen after you install
it.), which should pick up the new nginx rules (manage adds files that the
nginx configuration loads in /var/opt/opscode/nginx/etc/addon.d.)

Julian's step of running chef-server-ctl reconfigure might work, or
chef-server-ctl restart nginx.

Are you still getting the page you got before you installed manage?

On Wed, Sep 24, 2014 at 7:33 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

Documentation might be wrong. I believe you are going to need to
chef-server-ctl reconfigure as well to pick up the new nginx rules.

  • Julian

On Wed, Sep 24, 2014 at 2:08 AM, Anju M R anjumr.06@gmail.com wrote:

I installed chef-manage

$ chef-server-ctl install opscode-manage

and then:

$ opscode-manage-ctl reconfigure

But still I'm not able to get the Web UI. The Web UI url is as same as
the
older versions? https://?

On Tue, Sep 23, 2014 at 8:05 PM, Julian C. Dunn jdunn@aquezada.com
wrote:

On Tue, Sep 23, 2014 at 9:09 AM, Anju M R anjumr.06@gmail.com
wrote:

I installed Cher-server 12, but I'm not able to get the web ui
(https://chef-server-ip).

But it displays

Chef Server API

This is the main endpoint for all of the Chef API's. In general,
none of
these have any HTML representations, and the vast majority of them
require
that you are sending properly authenticated requests. So while it's
neat
that you came to visit, you probably won't find what you are
looking for
here. You can manage your organization's infrastructure
interactively
using
the Chef Management Console

The Web UI is an add-on feature in Chef 12.

http://downloads.getchef.com/chef-manage/

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Nathan L Smith
smith@getchef.com
(319) 339-0466

--
Regards,

Anju M R

--
Regards,

Anju M R

On Thu, Sep 25, 2014 at 4:50 AM, Anju M R anjumr.06@gmail.com wrote:

Is adding a chef workstation and chef nodes same as that of open source chef
11?

Then where can i find the .pem files?

Download the Starter Kit from the management UI as you installed it.

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

Hi

Thanks.

Now I added a node to the chef server.

Now while using the Reports in UI, I'm getting this error

Error, Reporting is currently unavailable.

On Thu, Sep 25, 2014 at 10:44 PM, Julian C. Dunn jdunn@aquezada.com wrote:

On Thu, Sep 25, 2014 at 4:50 AM, Anju M R anjumr.06@gmail.com wrote:

Is adding a chef workstation and chef nodes same as that of open source
chef
11?

Then where can i find the .pem files?

Download the Starter Kit from the management UI as you installed it.

  • Julian

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
Regards,

Anju M R

On Sep 26, 2014, at 3:05 AM, Anju M R anjumr.06@gmail.com wrote:

Hi

Thanks.

Now I added a node to the chef server.

Now while using the Reports in UI, I'm getting this error

Error, Reporting is currently unavailable.

Reporting is a separate premium feature that you can download and install from here: http://downloads.getchef.com/reporting/ http://downloads.getchef.com/reporting/

  • Julian