# Information required for plugin pmp-check-mysql-pidfile

**URL:** <https://forums.percona.com/t/information-required-for-plugin-pmp-check-mysql-pidfile/4272>\
**Category:** Percona Toolkit\
**Created:** [June 22, 2015, 11:26am UTC](https://forums.percona.com/t/information-required-for-plugin-pmp-check-mysql-pidfile/4272 "2015-06-22T11:26:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunus\_shaikh](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/yunus_shaikh/32/3512_2.png) [@yunus\_shaikh](https://forums.percona.com/u/yunus_shaikh)\
**Post date:** [June 22, 2015, 11:26am UTC](https://forums.percona.com/t/information-required-for-plugin-pmp-check-mysql-pidfile/4272/1 "2015-06-22T11:26:50Z")

</div>

When i configure the plugin for mysql pid check using below command

define command{  
command\_name check\_mysql\_pidfile  
command\_line $USER2$/pmp-check-mysql-pidfile -H hostname -l user -p password -w  
}  
I am getting warning as WARN missing /var/run/mysqld/mysqld.pid even when that file is present over there

Any solution for this???

Thanks in advance

---

<div class="post-metadata">

**Author:** ![yunus\_shaikh](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/yunus_shaikh/32/3512_2.png) [@yunus\_shaikh](https://forums.percona.com/u/yunus_shaikh)\
**Post date:** [June 22, 2015, 11:46am UTC](https://forums.percona.com/t/information-required-for-plugin-pmp-check-mysql-pidfile/4272/2 "2015-06-22T11:46:18Z")

</div>

Just to add the information that when I put the mysqld.pid file on the nagios server on that location it says ok…

How do I mention that I need to check pid file on the mysql server and not on the localhost.

Also in the command I have mentioned hostname of mysql server for connecting to mysql.
