albs
albs

Reputation: 13

Ohai: unable to get network attributes via ssh

I have several servers running centOS 6 and centOS 7. I am working in an inventory system, and for that I am using ohai, which is installed in all the machines.

When I do ssh [email protected] ohai it returns a json object with all the information but the network section empty. However, if I ssh into the server and I run ohai I get the proper network attributes.

Someone has any idea what can be happening? Thanks!

Upvotes: 0

Views: 53

Answers (1)

albs
albs

Reputation: 13

I solved, the problem was that ohai needs root rights to check the nics properties.

Upvotes: 0

Related Questions