<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Magento: php-cli process not being monitored in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110841#M7409</link>
    <description>&lt;P&gt;Do you have selinux or something like that co figured? If prices is sandboxed and started via cron it may be inaccessible by Agent.&lt;/P&gt;&lt;P&gt;I suggest downloading support archive from this agent and check logs. There may be more information about issue you have here. If there will not be any clue I suggest support ticket. Guy from dynatrace can enable some debug flags and collect more data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
    <pubDate>Sun, 29 Mar 2020 06:29:09 GMT</pubDate>
    <dc:creator>skrystosik</dc:creator>
    <dc:date>2020-03-29T06:29:09Z</dc:date>
    <item>
      <title>Magento: php-cli process not being monitored</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110840#M7408</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm running Magento using LAMP stack. DT detects a process "PHP-CLI" but gives an error that "Dynatrace OneAgent has no access to this process. Restart the process with PID(s) 24384, 24378, 24380, and 24382 to start its monitoring"&lt;/P&gt;&lt;P&gt;When I killed the above process, they restarted automatically as the cron job (using the process) is scheduled. Still then I'm getting the same error. I restarted apache, still no luck.&lt;/P&gt;&lt;P&gt;Anything I can do make it work?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The meta data for the process is as below:&lt;/P&gt;&lt;P&gt;Command line args: /usr/bin/php7.2 /var/www/html/bin/magento queue:consumers:start product_action_attribute.website.update --single-thread --max-messages=10000&lt;/P&gt;&lt;P&gt;EXE name: php*&lt;/P&gt;&lt;P&gt;EXE path: /usr/bin/php*&lt;/P&gt;&lt;P&gt;Main technology: PHP&lt;/P&gt;&lt;P&gt;PHP script: /var/www/html/bin/magento&lt;/P&gt;&lt;P&gt;PHP working directory: /home/magento&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 21:52:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110840#M7408</guid>
      <dc:creator>jenaja1982</dc:creator>
      <dc:date>2020-03-28T21:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Magento: php-cli process not being monitored</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110841#M7409</link>
      <description>&lt;P&gt;Do you have selinux or something like that co figured? If prices is sandboxed and started via cron it may be inaccessible by Agent.&lt;/P&gt;&lt;P&gt;I suggest downloading support archive from this agent and check logs. There may be more information about issue you have here. If there will not be any clue I suggest support ticket. Guy from dynatrace can enable some debug flags and collect more data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 06:29:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110841#M7409</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2020-03-29T06:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Magento: php-cli process not being monitored</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110842#M7410</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;No, SELinux is not configured. The cron job basically runs to check price rules, reindexing, alerts, emails etc. I downloaded the process support archive (attached) but not able to interpret much.&lt;/P&gt;
&lt;P&gt;monitoring_state.json file reads as below:&lt;/P&gt;
&lt;P&gt;{&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"state": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"injectionFailed": false,&lt;/P&gt;
&lt;P&gt;"outdatedAgent": false,&lt;/P&gt;
&lt;P&gt;"processAvailable": true,&lt;/P&gt;
&lt;P&gt;"noInjectionAvailable": false,&lt;/P&gt;
&lt;P&gt;"missingAgents": [&lt;/P&gt;
&lt;P&gt;"PHP"&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;"processGroupConfigState": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"state": "CONFIG_ACTIVE",&lt;/P&gt;
&lt;P&gt;"isBadVersion": false&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"extendedInjectionSupportState": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"injectionSupportState": "SUPPORTED"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"infrastructureOnly": false,&lt;/P&gt;
&lt;P&gt;"agentReportedState": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"injectionFailed": false,&lt;/P&gt;
&lt;P&gt;"agentInjectionInformation": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"actualAgentInjectionInformation": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"configRevision": 1585429818098,&lt;/P&gt;
&lt;P&gt;"processAgentInjectionInformation": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"agentPresent": true,&lt;/P&gt;
&lt;P&gt;"agentVersion": "1.187.154.20200303-135131",&lt;/P&gt;
&lt;P&gt;"mmapPresent": true&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"specialAgentInjectionInformation": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"injectionDecisions": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"PHP": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"agentType": "PHP",&lt;/P&gt;
&lt;P&gt;"injectionDecision": "INJECTION_DECISION_AGENTTYPE_BASED_INJECTION_DISABLED",&lt;/P&gt;
&lt;P&gt;"injectionDecisionId": 10,&lt;/P&gt;
&lt;P&gt;"injectionStatus": "INJECTION_STATUS_PENDING"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"injectableTechnologies": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"PHP_CLI": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"type": "PHP_CLI",&lt;/P&gt;
&lt;P&gt;"version": "7.2.29"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"missingMonitoringReasons": {}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"agentInjectionInformationPerPid": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"infoPerPid": {}&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"fallbackConfigState": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"state": "CONFIG_ACTIVE",&lt;/P&gt;
&lt;P&gt;"isBadVersion": false&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"aixKernelExtensionsSupport": false&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"isBlacklisted": false,&lt;/P&gt;
&lt;P&gt;"isManuallyInjected": false,&lt;/P&gt;
&lt;P&gt;"hasRestartableParentProcess": false,&lt;/P&gt;
&lt;P&gt;"osType": "OS_TYPE_LINUX",&lt;/P&gt;
&lt;P&gt;"lastSeenDiffMs": 216976,&lt;/P&gt;
&lt;P&gt;"agentReportedPotentiallyInjected": false&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"extendedProcessGroupConfigState": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"state": "CONFIG_ACTIVE",&lt;/P&gt;
&lt;P&gt;"isBadVersion": false&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"agentTechnologyTypes": [&lt;/P&gt;
&lt;P&gt;"PHP"&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;"agentAvailable": true,&lt;/P&gt;
&lt;P&gt;"areAllAgentsInjected": false,&lt;/P&gt;
&lt;P&gt;"isRestartRequired": true,&lt;/P&gt;
&lt;P&gt;"pgInjectionRuleCheck": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"input": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"PG_ID_CALC_INPUT_KEY_PHP_CLI_SCRIPT_PATH": "/var/www/html/bin/magento",&lt;/P&gt;
&lt;P&gt;"PG_ID_CALC_INPUT_KEY_PHP_CLI_WORKING_DIR": "/home/magento",&lt;/P&gt;
&lt;P&gt;"PG_ID_CALC_INPUT_KEY_EXE_PATH": "/usr/bin/php*",&lt;/P&gt;
&lt;P&gt;"PG_ID_CALC_INPUT_KEY_EXE_NAME": "php*",&lt;/P&gt;
&lt;P&gt;"PG_ID_CALC_INPUT_KEY_COMMAND_LINE_ARGS": "/usr/bin/php7.2 /var/www/html/bin/magento queue:consumers:start product_action_attribute.website.update --single-thread --max-messages\u003d10000"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"result": "noMatch"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"osAgentInjections": {&lt;!-- --&gt;&lt;/P&gt;
&lt;P&gt;"AGENT_TYPE_DOTNET": [&lt;/P&gt;
&lt;P&gt;"IIS"&lt;/P&gt;
&lt;P&gt;],&lt;/P&gt;
&lt;P&gt;"AGENT_TYPE_JAVA": [&lt;/P&gt;
&lt;P&gt;"ON"&lt;/P&gt;
&lt;P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t;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 11:29:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/110842#M7410</guid>
      <dc:creator>jenaja1982</dc:creator>
      <dc:date>2024-12-31T11:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Magento: php-cli process not being monitored</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/171955#M18300</link>
      <description>&lt;P&gt;I am kind of having a similar issue with PHP-CLI Laravel console process i.e.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;/usr/local/bin/php /var/www/artisan queue:work redis&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 02:01:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/171955#M18300</guid>
      <dc:creator>javed_gardezi</dc:creator>
      <dc:date>2021-09-09T02:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Magento: php-cli process not being monitored</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/171973#M18303</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/9138"&gt;@javed_gardezi&lt;/a&gt;&amp;nbsp; Monitoring of php-cli has to be &lt;A href="https://www.dynatrace.com/support/help/shortlink/full-stack-monitoring#monitoring-php-cli" target="_self"&gt;explicitly enabled&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 07:14:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Magento-php-cli-process-not-being-monitored/m-p/171973#M18303</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2021-09-09T07:14:45Z</dc:date>
    </item>
  </channel>
</rss>

