Search found 16 matches

Return to advanced search

Tuning notifications

New Nagios server with notifications working well :) Server & virtual workstations run 24/7 and I receive notification via email whenever a condition WARNING or CRITICAL is triggered. The physical workstations run ad-hoc and I receive notifications when they are powered off which I don't want. I...
by McHenry
Thu Mar 15, 2018 3:52 pm
 
Forum: Nagios Core
Topic: Tuning notifications
Replies: 1
Views: 261

Re: check_files by extension

Slight tweak to get it to work

"filter=filename regexp '/^.*\.(txt|TXT|pdf|PDF|csv|CSV)'"

Could not get the /i to work so had to include both cases

Using newest version of NSClient
by McHenry
Mon Mar 12, 2018 4:10 pm
 
Forum: Nagios Core
Topic: check_files by extension
Replies: 4
Views: 498

check_files by extension

Hi, Using check_files I can specify a pattern to filter the files by extension and this works: ./check_nrpe -H 192.168.1.1 -c check_files -a path="D:\\Testing" pattern="*.txt" I need to be able to find files that match one of three extensions: txt pdf csv I have tried specifying ...
by McHenry
Mon Mar 12, 2018 7:35 am
 
Forum: Nagios Core
Topic: check_files by extension
Replies: 4
Views: 498

Customise email notifications

I have email notifications for warning and critical situations and it works well. I would like to customise these notifications where possible starting with the sender address. Presently all emails received originate from: nagios@localhost.localdomain I would like the emails to be sent from: myserve...
by McHenry
Mon Mar 12, 2018 1:20 am
 
Forum: Nagios Core
Topic: Customise email notifications
Replies: 2
Views: 312

Monitor folder modified data

I have a series of folders that I need to monitor. These folders have files downloaded to them periodically and I need to know if now files have been downloaded in the last day. The downloaded files are cleared out hourly. Is there a way of using check_files to monitor the folder modification date/t...
by McHenry
Sun Mar 04, 2018 5:15 am
 
Forum: Nagios Core
Topic: Monitor folder modified data
Replies: 1
Views: 286

Check files/folder dates

Hi all,

Is it possible with Nagios to check the date of a folder and the age of the oldest file in a folder on a Windows server?

Thanks
by McHenry
Sat Mar 03, 2018 6:14 pm
 
Forum: Nagios Core
Topic: Check files/folder dates
Replies: 2
Views: 364

Custom plugin to check Windows

Noob. I am using check_nt commands with nsclient++ on the Windows machines to monitor, CPU, disk & memory. All works well. I would like to check directories for age, file count etc and have found a plugin that appears to achieve this: https://exchange.nagios.org/directory/Plugins/System-Metrics/...
by McHenry
Thu Mar 01, 2018 6:51 am
 
Forum: Nagios Core
Topic: Custom plugin to check Windows
Replies: 1
Views: 216

Re: NOOB: (Return code of 127 is out of bounds - plugin may

Awesome, thank you.

I copied the original command from the Nagios website so I'm surprised others have not noted this problem:
https://exchange.nagios.org/directory/P ... 1458605971
by McHenry
Sun Apr 17, 2016 8:55 pm
 
Forum: Nagios Core
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 2892

Re: NOOB: (Return code of 127 is out of bounds - plugin may

root@apollo:~# su nagios root@apollo:~# /usr/lib/nagios/plugins/check_snmp_printer.sh -H 192.1.1.152 -C public -x MODEL "HP LaserJet M402dn", Serial # XXXXXXXXXX root@apollo:~# When installing the plugin I simply downloaded the bash script from the website, copied it into the plugins folde...
by McHenry
Sun Apr 17, 2016 1:37 am
 
Forum: Nagios Core
Topic: NOOB: (Return code of 127 is out of bounds - plugin may be
Replies: 17
Views: 2892
Next

Return to advanced search

cron