# Fresh pmm-agent on Centos with PMM 2.4 does not have \`pmm-admin check-network\`

**URL:** <https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499>\
**Category:** PMM 2.x\
**Created:** [April 2, 2020, 6:50am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499 "2020-04-02T06:50:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnis\_Juraga](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Arnis\_Juraga](https://forums.percona.com/u/Arnis_Juraga)\
**Post date:** [April 2, 2020, 6:50am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/1 "2020-04-02T06:50:52Z")

</div>

Should the documentation be different, or&nbsp; version 2 has completely different commands set?&nbsp;  
I am running latest pmm Agent on Centos and Ubuntu servers. On both, output for `pmm-admin check-network` and `pmm-admin` is the same:

```auto
[root@server-3 centos]# pmm-admin check-network
pmm-admin: error: expected command but got "check-network", try --help

[root@server-3 centos]# pmm-admin
usage: pmm-admin [] [...]
Version 2.4.0
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man)
--version Show application version
--server-url=SERVER-URL PMM Server URL in `https://username:password@pmm-server-host/` format
--server-insecure-tls Skip PMM Server TLS certificate validation
--debug Enable debug logging
--trace Enable trace logging (implies debug)
--json Enable JSON output
Commands:
help [...]
Show help
config [] [] [] []
Configure local pmm-agent
list []
Show Services and Agents running on this Node
status
Show information about local pmm-agent
summary []
Fetch system data for diagnostics
add mongodb [] [] []
Add MongoDB to monitoring
add mysql [] [] []
Add MySQL to monitoring
add postgresql [] [] []
Add PostgreSQL to monitoring
add proxysql [] [] []
Add ProxySQL to monitoring
register [] [] [] []
Register current Node at PMM Server
remove [] []
Remove Service from monitoring

```

Am I doing something worng?&nbsp;  
pmm-admin check-network is documented in Documentation for 2.4&nbsp; Section 3.4  
_To make sure that the new server is available run the pmm-admin check-network command from the computer  
where PMM Client is installed. Run this command as root or by using the sudo command_

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [April 2, 2020, 8:37am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/2 "2020-04-02T08:37:51Z")

</div>

Hi @“Arnis Juraga”,  
`pmm-admin check-network` is not a valid v2 command. Can you send the link to the documentation you mention?

---

<div class="post-metadata">

**Author:** ![Arnis\_Juraga](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Arnis\_Juraga](https://forums.percona.com/u/Arnis_Juraga)\
**Post date:** [April 2, 2020, 10:29am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/3 "2020-04-02T10:29:22Z")

</div>

The official one! Open documentation, search for “check-network”. You will find. To be honest, I tried pmm2.4 and had multiple problems, starting from installation documentation issues.  
Anyway - the problem for me was, that machine was registering successfully on my DOCKER installation, clients registered visible in Dashboard, but later not receiving any data. So I followed debugging (troubleshooting) and that documentation is very outdated then for 2.4…  
All are official links:  
  
[https://www.percona.com/doc/percona-monitoring-and-management/index.html](https://www.percona.com/doc/percona-monitoring-and-management/index.html)  
Select “PMM 2” on the left side dropdown.&nbsp;  
  
  
[https://learn.percona.com/hubfs/Manuals/Percona\_Monitoring\_And\_Management\_PMM/PMM-2.1/PerconaMonitoringAndManagement%202.4.0.pdf](https://learn.percona.com/hubfs/Manuals/Percona_Monitoring_And_Management_PMM/PMM-2.1/PerconaMonitoringAndManagement%202.4.0.pdf)

---

<div class="post-metadata">

**Author:** ![Michael\_Schueler](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Michael\_Schueler](https://forums.percona.com/u/Michael_Schueler)\
**Post date:** [April 2, 2020, 7:27pm UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/4 "2020-04-02T19:27:49Z")

</div>

pmm-admin status&nbsp;  
pmm-admin list  
  
do similar things.&nbsp; but, yeah, i miss the nice colored output of check-network

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [April 4, 2020, 11:46am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/5 "2020-04-04T11:46:03Z")

</div>

@“Arnis Juraga”,  
Thanks for the details, I’ll check the link you sent with the team, and create a new bug report for it, if needed.  
For any other incorrect (or incomplete) documentation sections, feel free to open a documentation bug in&nbsp;[https://jira.percona.com/projects/PMM/issues](https://jira.percona.com/projects/PMM/issues "Link: https://jira.percona.com/projects/PMM/issues").  
Regarding the lack of metrics, did you also check the client-side logs?

```auto
journalctl -u pmm-admin

```

---

<div class="post-metadata">

**Author:** ![Arnis\_Juraga](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Arnis\_Juraga](https://forums.percona.com/u/Arnis_Juraga)\
**Post date:** [April 10, 2020, 9:35am UTC](https://forums.percona.com/t/fresh-pmm-agent-on-centos-with-pmm-2-4-does-not-have-pmm-admin-check-network/7499/6 "2020-04-10T09:35:19Z")

</div>

The official one! Open documentation, search for “check-network”. You will find. To be honest, I tried pmm2.4 and had multiple problems, starting from installation documentation issues.  
Anyway - the problem for me was, that machine was registering successfully on my DOCKER installation, clients registered visible in Dashboard, but later not receiving any data, nor Linux nor MySQL. So I followed debugging (troubleshooting) and that documentation is very outdated then for 2.4…  
All are official links:  
  
[https://www.percona.com/doc/percona-monitoring-and-management/index.html](https://www.percona.com/doc/percona-monitoring-and-management/index.html "Link: https://www.percona.com/doc/percona-monitoring-and-management/index.html")  
Select “PMM 2” on the left side dropdown.&nbsp;  
  
[https://learn.percona.com/hubfs/Manuals/Percona\_Monitoring\_And\_Management\_PMM/PMM-2.1/PerconaMonitoringAndManagement%202.4.0.pdf](https://learn.percona.com/hubfs/Manuals/Percona_Monitoring_And_Management_PMM/PMM-2.1/PerconaMonitoringAndManagement%202.4.0.pdf)
