[Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread sandma...@libero.it
Hi, I'm testing nagios 3 on ubuntu 10.04. I've downloaded a plugin from nagios exchange, but where the file must be in order to be run? Particularly, I've downloaded check_cisco.pl from nagios exchange, and I've put it in /usr/lib/nagios/plugins I've also given a chmod 0755, and chown root:roo

[Nagios-users] Monitoring traffic

2010-06-29 Thread sandma...@libero.it
Hi, I'd need to keep traffic on a UMTS router monitored, i.e. I'd need to set up something that counts bytes passed and gives an alarm when a particular thresold is reached. The router gives no SNMP information about it. Is there any other way to do that with nagios? Thanks

[Nagios-users] R: Re: Monitoring traffic

2010-06-29 Thread sandma...@libero.it
>Messaggio originale >Da: j...@jimavery.me.uk >Data: 29/06/2010 14.51 >> The router gives no SNMP information about it. >What options are available to you for querying the counter on the router? It is possible to send a string from the router to a particular port of a remote server. Is t

[Nagios-users] Acquiring data from a log

2010-09-20 Thread sandma...@libero.it
Hi, I need to acquire data from a log, parse if and, if a particular condition is met, notify the problem, otherwise just have on nagios the condition. I.e. if number of record (parsed from log) exceeds 1000, trigger an email, otherwise just have on nagios web page "Processed 123 records" I ha

[Nagios-users] R: Re: Acquiring data from a log

2010-09-20 Thread sandma...@libero.it
>Messaggio originale >Da: be...@bennyvision.com >Data: 20/09/2010 15.12 >Wow. Check out Consul Labs' check_logfiles plugin. Don't re-invent >the wheel if you can avoid it. Sure, but it's too complicate for me, and I'm not a perl guru. Anyway, the script is ready and works when run from

[Nagios-users] Handling different states

2010-09-20 Thread sandma...@libero.it
Hi all, I've written a plugin that looks for number of record processed. If they are below the thresold, it writes to stdout 'All OK' and exit with code 0. If thet are above it writes "Too many records" and exits with code 2, and this event triggers a mail notification with Down as problem, and

[Nagios-users] Trigger notification mail

2010-09-24 Thread sandma...@libero.it
Hi, I have written a plugin that counts the number of transaction on a system and sends a notification mail if this number exceeds a thresold. I'd like to trigger an email that on a daily basis sends the number of transaction, whatever the number is, i.e. a scheduled event. Is this possible?