Search found 17 matches
- Thu Feb 20, 2020 3:09 am
- Forum: Open Source Nagios Projects
- Topic: Service has no hosts and/or service_description (config file
- Replies: 3
- Views: 1916
Re: Service has no hosts and/or service_description (config
Thanks a lot, it's working fine now.
- Wed Feb 19, 2020 11:59 am
- Forum: Open Source Nagios Projects
- Topic: Service has no hosts and/or service_description (config file
- Replies: 3
- Views: 1916
Service has no hosts and/or service_description (config file
Hello, I have installed a fresh NAGIOS Core server 4.4.5 and begin to transfer the CFG files from my old FAN distrib. But I have an error with my templates.cfg The following message appears when checking the configuration: Error: Service has no hosts and/or service_description (config file '/usr/loc...
- Thu Jun 28, 2018 11:30 pm
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
I have already checked everything with the doc (3 times). And nagios users's is already declared bin/bash in /etc/passwd According to you, the problem is related with cacti user or nagios user ? I repeat, I don't remeber cacti paswword, thus how can I reset it and might it be a bad idea to change it ?
- Thu Jun 28, 2018 10:38 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
The same:
Code: Select all
sudo su cacti
This account is currently not available.
- Thu Jun 28, 2018 10:25 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
Code: Select all
su cacti
This account is currently not available.
Code: Select all
cacti:x:103:104::/usr/share/cacti:/sbin/nologin
- Thu Jun 28, 2018 9:32 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
I don't understand, I believed it's the nagios user who's executing programs on the remote computers and not cacti.
I don't remember cacti's password, how can I reset it and may I have some problems with my graphs already working ?
I don't remember cacti's password, how can I reset it and may I have some problems with my graphs already working ?
- Thu Jun 28, 2018 8:43 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
It's working after nagios password set.
Code: Select all
sudo -u cacti /usr/lib/nagios/plugins/check_by_ssh -H 128.1.110.206 -l nagios -t 30 -C "/Outils/nagios_sh/check_diapason_users.sh"
nagios@128.1.110.206's password:
43
- Thu Jun 28, 2018 2:54 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
Here is the code.
Code: Select all
#!/usr/bin/perl
$response=`/usr/lib/nagios/plugins/check_by_ssh -H $ARGV[0] -l nagios -t 30 -C "/Outils/nagios_sh/check_diapason_users.sh"`;
print $response;
- Tue Jun 26, 2018 8:22 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
Yes
su nagios
ssh nagios@128.1.110.206 works fine.
su nagios
ssh nagios@128.1.110.206 works fine.
- Tue Jun 26, 2018 3:09 am
- Forum: Open Source Nagios Projects
- Topic: check_by_ssh remote command failed @@@@@@@
- Replies: 23
- Views: 8534
Re: check_by_ssh remote command failed @@@@@@@
Is it possible that the problem is related to the server versions ?
One server is 6.9 and the other is 5.1 REDHAT Enterprise.
One server is 6.9 and the other is 5.1 REDHAT Enterprise.