I tried running those commands but FirewallD is not running.
objects]# ls /usr/local/nagios/libexec/
check_apt check_dig check_flexlm check_ifoperstatus check_log check_nntp check_nwstat check_real check_spop check_udp urlize
check_breeze check_disk check_ftp check_ifstatus check_mailq check_nntps check_oracle check_rpc check_ssh check_ups utils.pm
check_by_ssh check_disk_smb check_hpjd check_imap check_mrtg check_nt check_overcr check_sensors check_ssmtp check_uptime utils.sh
check_clamd check_dns check_http check_ircd check_mrtgtraf check_ntp check_ping check_simap check_swap check_users
check_cluster check_dummy check_icmp check_jabber check_nagios check_ntp_peer check_pop check_smtp check_tcp check_wave
check_dhcp check_file_age check_ide_smart check_load check_ncpa.py check_ntp_time check_procs check_snmp check_time negate
I'm not sure what to use under libexec. I'm trying to define services that will mimic what I have through NCPA. I just want to monitor disk, mem and cpu like I do on all my other servers. But locally on this linux server.
Localhost Settings
-
nickanderson1982
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Localhost Settings
Is this link missing the examples
https://assets.nagios.com/downloads/nag ... linux.html
The sample configuration entries below reference objects that are defined in the sample config files (commands.cfg, templates.cfg, etc.) that are installed if you follow the quickstart. <----There is nothing listed. I need examples to go off of for cpu, mem and disk
https://assets.nagios.com/downloads/nag ... linux.html
The sample configuration entries below reference objects that are defined in the sample config files (commands.cfg, templates.cfg, etc.) that are installed if you follow the quickstart. <----There is nothing listed. I need examples to go off of for cpu, mem and disk
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Localhost Settings
There is one check_ncpa.py plugin that communicates with the NCPA agent on the other end, this needs to be installed on your Nagios Core server.
https://www.nagios.org/ncpa/getting-started.php#linux
Jump to the Active Checks (check_ncpa.py) section and it provides different examples.
https://www.nagios.org/ncpa/getting-started.php#linux
Jump to the Active Checks (check_ncpa.py) section and it provides different examples.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nickanderson1982
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Localhost Settings
That is not the problem. I'm trying to monitor my core server. I want to monitor it like I monitor all my other servers. I want to add the processor, memory and hard disk just like I did through NCPA on all the other servers. But I don't know the proper syntax for the core localhost.cfg file to do this.
There is no examples to go off of that make sense to me. Does anyone have any examples of their core server localhost.cfg with processor, memory and hard disk checks
There is no examples to go off of that make sense to me. Does anyone have any examples of their core server localhost.cfg with processor, memory and hard disk checks
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Localhost Settings
Simply remove all the "localhost' examples that exist. Then treat your local server just like any one of the other clients, use the same configs you use for your other servers.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nickanderson1982
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Localhost Settings
Thank You Box329. I did what you recommended and that worked. You were right, I was reinventing the wheel when I just needed to setup NCPA and change around some syntax and it worked out. Thank You. Ticket Completed
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Localhost Settings
Great!nickanderson1982 wrote:Thank You Box329. I did what you recommended and that worked. You were right, I was reinventing the wheel when I just needed to setup NCPA and change around some syntax and it worked out. Thank You. Ticket Completed
Locking thread