Skip to content

pmdas/snmp: install the agent specific configuration file to PMDATMPDIR #1694

Merged
natoscott merged 2 commits intoperformancecopilot:mainfrom
masatake:pmda-snmp-file-list
Oct 21, 2022
Merged

pmdas/snmp: install the agent specific configuration file to PMDATMPDIR #1694
natoscott merged 2 commits intoperformancecopilot:mainfrom
masatake:pmda-snmp-file-list

Conversation

@masatake
Copy link
Copy Markdown
Contributor

When running ./Install of the agent, the following line is printed in
/var/log/pcp/pmcd/snmp.log.

  Log for pmdasnmp on pcp-netsnmp started Tue Oct 18 22:45:23 2022

  opening /var/lib/pcp/pmdas/snmp/snmp.conf No such file or directory at /var/lib/pcp/pmdas/snmp/pmdasnmp.pl line 90.

As a result, pmdasnmp.pl cannot read its configuration file though it is "./Install"ed.

When running ./Install of the agent, the following line is printed in
/var/log/pcp/pmcd/snmp.log.

  Log for pmdasnmp on pcp-netsnmp started Tue Oct 18 22:45:23 2022

  opening /var/lib/pcp/pmdas/snmp/snmp.conf No such file or directory at /var/lib/pcp/pmdas/snmp/pmdasnmp.pl line 90.

As a result, pmdasnmp.pl cannot read its configuration file though it
is "./Install"ed.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@natoscott natoscott merged commit d64484f into performancecopilot:main Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants