Re: [Nagios-users] HTTP and Web Form based Auth

2009-05-28 Thread Petersen, Mark
I use webinject - http://www.webinject.org/plugin.html. Mark > -Original Message- > From: Aaron McKinnon [mailto:mckin...@caltech.edu] > Sent: Thursday, May 28, 2009 11:22 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] HTTP and Web Form based Auth > > How are folks checking

[Nagios-users] Nagios Looking Glass 1.06

2007-08-01 Thread Petersen, Mark
I'm getting the following error. The checksum I received with the feed is invalid compared to my local check. Network problems may be causing packet loss. Hint: Try increasing PHP's 'memory_limit' and/or 'max_execution_time' settings in php.ini on the polling server, and restarting the web servic

Re: [Nagios-users] On-Call Rotation

2007-12-21 Thread Petersen, Mark
This pretty useful, I didn't know once could do this and would like to. However, I run nagios 2 and it appears this is only available on nagios 3, are you using nagios 3? If so, maybe it's a bug in this new feature? Also, this looks like it would only do Dec 24, 25, then Jan 7,8, then Jan 14,15 (

[Nagios-users] check_by_ssh against localhost segfaults?

2008-01-03 Thread Petersen, Mark
I'm trying to run check_by_ssh against my localhost (for consistency purposes.) I'm using forced command execution with ssh: `cat /home/nagios/.ssh/authorized_keys2` command="/home/nagios/bin/check_by_ssh.sh" ssh-dss B3N nagios_check_by_ssh /usr/lib/nagios/plugins/check_by_ssh -i /etc/nagios

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-03 Thread Petersen, Mark
I believe most people use procmail and submit external commands through procmail rules. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Blackham Sent: Thursday, January 03, 2008 4:22 PM To: nagios-users@lists.sourceforge.net Subject: [Nagi

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-04 Thread Petersen, Mark
I think the easiest solution would be to have Lotus Notes forward mail for [EMAIL PROTECTED] (or whatever from address you use) to [EMAIL PROTECTED] and run procmail on the nagios server. Is this compatible with your setup? I don't really know much about Notes, but I assume it's not running it on

Re: [Nagios-users] Checking MediaWiki Health?

2008-01-08 Thread Petersen, Mark
I'd just use webinject to login, check whatever (query?) and logout. http://www.webinject.org/ You could also write a little PHP page/script on that server that puts the status of everything and do a check_http on that page, looking for "Everything OK" or similar text on the page. > -Original

Re: [Nagios-users] DISK UNKNOWN

2008-01-10 Thread Petersen, Mark
What if you make it: command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /vservers/fred/data I can only get check_disk to work on mounted disks using -p to point to LVM disks, but this is mounted, right? From: [EMAIL PROTECTE

Re: [Nagios-users] Nagios Looking Glass

2008-01-15 Thread Petersen, Mark
You could run nagios or nagios looking glass on different ports with different versions of apache. If you want both services on port 80 I believe you would have to setup nagios to work with apache2. mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Nagios-users] Sun Monitoring

2008-01-29 Thread Petersen, Mark
While Sun might have a way to monitor server health, I use check_logfiles (http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1%5Bp_view %5D=538) to monitor the logs for errors more than anything. I have checks for power supplies, fans, SAN mounts, memory, cpu and SCSI errors, etc. setup

Re: [Nagios-users] web interface access and authorization

2008-02-07 Thread Petersen, Mark
> I haven't tested 3.x extensively yet but I don't see anything in the > documentation about contact permissions that's different than 2.x so > I'll take a stab -- > Set the 'can_submit_commands' parameter to the contact{} definition as > you like. > http://nagios.sourceforge.net/docs/3_0/objectde

Re: [Nagios-users] web interface access and authorization

2008-02-07 Thread Petersen, Mark
Anyone know if that patch can be applied against 2.10 by chance? I'll try and investigate on my own as well. > reading the CGIAuth doccos, but in doing research before sending I saw a > patch submitted and applied to 3.x that provided the can_submit_commands > functionality to contacts specifical

Re: [Nagios-users] Problem with External Command File

2007-01-03 Thread Petersen, Mark
I'm pretty sure the webserver (apache, nobody, www-data, or whatever you setup) needs write permissions for that file. It may also need to be a named pipe. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, Januar

Re: [Nagios-users] MySQL replication broken status in nagios

2007-01-11 Thread Petersen, Mark
Why can you not use check_mysql -S slave stuff from the standard nagios plugins? If this won't work you'll have to write a script/plugin following the guildelines available here - http://nagiosplug.sourceforge.net/developer-guidelines.html and/or ask more specific questions. -

Re: [Nagios-users] nagios and selinux?

2007-01-25 Thread Petersen, Mark
Can you move the cgi's (or possibly hardlink them) to someplace that apache will let them run (say /var/www/nagios2/cgi-bin)? Otherwise you might need some sort of a compile option to just install them there. Someone more familiar with the build process might be able to help here. There's also wa

[Nagios-users] Passive checks show up as disabled

2007-02-01 Thread Petersen, Mark
Hello, I followed all the advise here - http://nagios.org/faqs/viewfaq.php?faq_id=271&expand=false&showdesc=fals e including getting rid of the state retention file, adding check_freshness, freshness_threshold and defining the check_command as service-is-stale (which is setup to warn that servi

Re: [Nagios-users] Use service more than once for the same host

2007-02-08 Thread Petersen, Mark
The only way I know to do this is with multiple services for the host. Something like the proxy server checks below. # 'check_squid' command definition define command{ command_namecheck_squid command_line/usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -

[Nagios-users] Notification on Stalk

2007-05-08 Thread Petersen, Mark
I've searched high and low for the answer to this. It seems that because nagios just checks exit status, its not easy to create a notification on stalking. I'm wondering if I can definte additional exit codes as critical (without modifying the source,) or if there is another soltuion to this. Fo

Re: [Nagios-users] Notification on Stalk

2007-05-08 Thread Petersen, Mark
This is an interesting solution I haven't seen suggested before. I could have multiple services where criticals are set at different levels. However, this will mess up statistics some and only works disk checks, or some sort of incremental check. Consider the RAID for stalking from the nagios2

Re: [Nagios-users] Notification on Stalk

2007-05-09 Thread Petersen, Mark
> You might get by if you are willing to write your own custom > notification script. Nagios should notify every N minutes to > the script as long as a warning or critical level exists. > > The scripts should keep progress of the performance data and > only send out a real message if the perfor

[Nagios-users] Service Groups

2007-06-18 Thread Petersen, Mark
I think this is a feature request, but I just to confirm its not in a newer version (I'm running 2.5) or I'm missing something else. I have a number of servicegroups, but users can't view servicegroups where they only have access to a limited number of the services in the group. Other than enabli