added reporting modules, but portal shows no updated info...

455 views
Skip to first unread message

Dan Bibb

unread,
Feb 15, 2016, 3:55:13 PM2/15/16
to munkireport
I added all of the modules via pasting the output from http://example.com/index.php?/install/dump_modules/config

It appears that no add'l data is being reported to the server, and come to think of it, even when it was only reporting on the 2 default modules, munkireport and disk_report, I never got any disk info to show up.

I turned on debugging, and this is the output at the end of running sudo /usr/local/munki/managedsoftwareupdate -vvv

Finishing...

    Getting info on currently installed applications...

    Performing postflight tasks...

    postflight stdout:     Munkireport: # Executing scripts in postflight.d

    Munkireport: Requesting munkireport

    Status: 200

    Headers: {u'Content-Length': u'88', u'X-Powered-By': u'PHP/5.5.29', u'Keep-Alive': u'timeout=5, max=100', u'MS-Author-Via': u'DAV', u'Server': u'Apache', u'Connection': u'Keep-Alive', u'Date': u'Mon, 15 Feb 2016 20:41:29 GMT', u'Content-Type': u'text/html'}

    Munkireport: Need to update reportdata

    Munkireport: Need to update munkireport

    Munkireport: Sending items

    Status: 200

    Headers: {u'Content-Length': u'69', u'X-Powered-By': u'PHP/5.5.29', u'Keep-Alive': u'timeout=5, max=99', u'MS-Author-Via': u'DAV', u'Server': u'Apache', u'Connection': u'Keep-Alive', u'Date': u'Mon, 15 Feb 2016 20:41:29 GMT', u'Content-Type': u'text/html'}

    Munkireport: Server info: starting: reportdata

Server info: starting: munkireport

Done.


I've cleared the cache on my main browser but also accessed the portal via another machine just to be sure. 


Do I need to do anything other than add the modules to the config.php file? If I've missed it in the documentation, I apologize. 


furthermore, is there a way to run munkireport other than running managedsoftwareupdate?


Any advice is appreciated, thank you.



A.E. van Bochoven

unread,
Feb 15, 2016, 4:13:49 PM2/15/16
to munki...@googlegroups.com
On 15 Feb 2016, at 21:55, Dan Bibb <captai...@gmail.com> wrote:

I added all of the modules via pasting the output from http://example.com/index.php?/install/dump_modules/config

It appears that no add'l data is being reported to the server, and come to think of it, even when it was only reporting on the 2 default modules, munkireport and disk_report, I never got any disk info to show up.

If you enable modules, you'll need to install them on your clients, either by creating a package or manually as instructed here:


furthermore, is there a way to run munkireport other than running managedsoftwareupdate?


You can run munkireport manually by invoking /usr/local/munki/preflight and /usr/local/munki/postflight as root

-Arjen

Dan Bibb

unread,
Feb 15, 2016, 4:43:15 PM2/15/16
to munkireport
Sorry, just to be clear, all machines are currently reporting in, and the "munkireport" module shows me client info. However nearly every other module is blank.

Are you saying when a module is added to config.php on my server, it also has to be installed on each client?

A.E. van Bochoven

unread,
Feb 15, 2016, 4:47:56 PM2/15/16
to munki...@googlegroups.com
On 15 Feb 2016, at 22:43, Dan Bibb <captai...@gmail.com> wrote:

Sorry, just to be clear, all machines are currently reporting in, and the "munkireport" module shows me client info. However nearly every other module is blank.

Are you saying when a module is added to config.php on my server, it also has to be installed on each client?

That's right, modules are largely dependant on clientside scripts. All modules are already on the server. Adding them to config.php is only there to tell the client installer what to install.

-Arjen



On Monday, February 15, 2016 at 3:13:49 PM UTC-6, Arjen van Bochoven wrote:

On 15 Feb 2016, at 21:55, Dan Bibb <captai...@gmail.com> wrote:

I added all of the modules via pasting the output from http://example.com/index.php?/install/dump_modules/config

It appears that no add'l data is being reported to the server, and come to think of it, even when it was only reporting on the 2 default modules, munkireport and disk_report, I never got any disk info to show up.

If you enable modules, you'll need to install them on your clients, either by creating a package or manually as instructed here:


furthermore, is there a way to run munkireport other than running managedsoftwareupdate?


You can run munkireport manually by invoking /usr/local/munki/preflight and /usr/local/munki/postflight as root

-Arjen


--
You received this message because you are subscribed to the Google Groups "munkireport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munkireport...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Bibb

unread,
Feb 15, 2016, 4:58:38 PM2/15/16
to munkireport
Well, when you put it that way, it makes sense. I'm still new to this stuff, thank you for all the info.

Dan Bibb

unread,
Feb 15, 2016, 5:00:56 PM2/15/16
to munkireport
one more thing, would it be safe to assume that I need to have Munki remove the previous version of munkireport from the clients, then install the updated package?

I am assuming Munki will only check for version number and skip over the installation otherwise?

A.E. van Bochoven

unread,
Feb 15, 2016, 5:10:22 PM2/15/16
to munki...@googlegroups.com
No need to remove the previous version. MR will happliy install over itself (it will even remove client scripts for modules that you did not enable)

-Arjen
Reply all
Reply to author
Forward
0 new messages