Score:0

NRPE: Command 'check_ssh' not defined

cn flag

We have a new Nagios Core server monitoring Linux hosts running NRPE plugins. Most of them are working as expected, but the SSH Monitor is failing with "NRPE: Command 'check_ssh' not defined". I can run check_ssh locally, but it's not working from the Nagios monitor.

nagios_errors

What am I doing wrong? I can run check_ssh on the linix agent itself and it works. Other plugins, like check_users, works when called from the nagios monitor with check_nrpe.

From the nagios monitor, calling check_nrpe on a linix agent:

check_nrpe

alexus avatar
sa flag
is `check_ssh` included in `nrpe.cfg`?
alexus avatar
sa flag
there is your answer, as i mentioned you didn't defined `check_ssh` command in your `nrpe.cfg`, define it and it'll work ;-)
alexus avatar
sa flag
https://serverfault.com/questions/562845/nagios-nrpe-command-my-command-not-defined
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.