There is still an issue left.
When running the script on a machine with several instances multiple process ids are returned:
[root@etl nagios]# pidof mysqld
21440 2950
It can still be used because:
- if the machine has only one instance no one will use -C option - things will work
- if the machine has more than one instance then the user must specify -C for each check.
There is still an issue left.
When running the script on a machine with several instances multiple process ids are returned:
[root@etl nagios]# pidof mysqld
21440 2950
It can still be used because:
- if the machine has only one instance no one will use -C option - things will work
- if the machine has more than one instance then the user must specify -C for each check.