Search found 1176 matches

Return to advanced search

Re: No access to the Nagios through the browser

It could be an iptables rule that is preventing traffic. Try the following command where x.x.x.x is the IP address of the machine you are accessing Nagios from (not the Nagios server itself): iptables -I INPUT 1 -s x.x.x.x -p tcp -m tcp --dport 80 -j ACCEPT That command should put traffic from ip x....
by mcapra
Thu May 19, 2016 11:27 am
 
Forum: Community Support
Topic: No access to the Nagios through the browser
Replies: 15
Views: 7126

Re: check_disk to check all drives

You could try this command definition (note the /* path at the end): command[check_disks]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -C -W 20% -K 10% -p /* Here's my test file system: [root@localhost boot]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 18G 4.1G 14G 23% / devtmpfs ...
by mcapra
Thu May 19, 2016 9:18 am
 
Forum: Community Support
Topic: check_disk to check all drives
Replies: 1
Views: 2437

Re: check if downtime is scheduled for a host via CGI

The JSON Query Generator is super handy for this sort of thing (where x.x.x.x is your Core install): http://x.x.x.x/nagios/jsonquery.html A brief intro to the JSON Query Generator: https://labs.nagios.com/2014/06/19/exploring-the-new-json-cgis-in-nagios-core-4-0-7-part-1/ If you wanted to check if h...
by mcapra
Tue May 17, 2016 1:13 pm
 
Forum: Community Support
Topic: check if downtime is scheduled for a host via CGI
Replies: 2
Views: 1945

Re: Monitoring externally through proxy?

Let us know what you results are!
by mcapra
Mon May 16, 2016 2:35 pm
 
Forum: Community Support
Topic: Monitoring externally through proxy?
Replies: 5
Views: 3349

Re: check_disk disable critical

You could try leaving the critical threshold undefined like so: define service{ use dev_default-service service_description DEV FS: / check_command DEV_check_local_disk!10%!!/ contact_groups TEST-CG servicegroups DEV_FS_Root-SG } This works for me in core for check_local_disk . Your results may vary...
by mcapra
Fri May 13, 2016 1:13 pm
 
Forum: Community Support
Topic: check_disk disable critical
Replies: 9
Views: 3305

Re: Nagios 4 on Raspberry PI 3

@t3dus,

I'm glad you were able to find a solution! As rhassing pointed out, typically a symlink would be used in favor of moving the file. Is it all right if we lock this topic and mark it as resolved?
by mcapra
Fri May 13, 2016 9:20 am
 
Forum: Community Support
Topic: Nagios 4 on Raspberry PI 3
Replies: 4
Views: 2366
Previous

Return to advanced search