I'd like to be able to modify nagios config file using a simple cli command.
for example, modifying the pager number of a specific nagios contact; or getting the list of all contacts in nagios.
Thanks
Florent
Search found 8 matches
- Fri Oct 18, 2013 5:43 pm
- Forum: Open Source Nagios Projects
- Topic: Add a real Command Line mode to nagios
- Replies: 1
- Views: 1954
- Wed Mar 06, 2013 4:56 pm
- Forum: Open Source Nagios Projects
- Topic: Get list of actual alerts from command line ?
- Replies: 3
- Views: 2304
Re: Get list of actual alerts from command line ?
problem is that this log file seems to contain too many alerts...not only actual ones, isn't it ?
Florent
Florent
- Tue Mar 05, 2013 6:07 pm
- Forum: Open Source Nagios Projects
- Topic: Modify or get contact pager number using external command ?
- Replies: 3
- Views: 1701
- Tue Mar 05, 2013 10:19 am
- Forum: Open Source Nagios Projects
- Topic: nagios for ActiveMQ
- Replies: 4
- Views: 1673
Re: nagios for ActiveMQ
have a look at : http://code.google.com/p/jmxquery/wiki/Usage define service{ use prod-service host ACTIVEMQ-SERVER service_description AMQ_CONSUMER_JMS_APPS check_command check_activemq_simple!nameofyouractivemqjms.yourapps!5!11 check_interval 20 notification_interval 20 } define command{ command_n...
- Tue Mar 05, 2013 5:49 am
- Forum: Open Source Nagios Projects
- Topic: Get list of actual alerts from command line ?
- Replies: 3
- Views: 2304
Get list of actual alerts from command line ?
Hello all,
i'm looking for a simple way to get the actual alerts list from the linux command line, is there a way to get it ?
Thanks
Florent
i'm looking for a simple way to get the actual alerts list from the linux command line, is there a way to get it ?
Thanks
Florent
- Tue Mar 05, 2013 5:46 am
- Forum: Open Source Nagios Projects
- Topic: Modify or get contact pager number using external command ?
- Replies: 3
- Views: 1701
Modify or get contact pager number using external command ?
Hello all, I'm looking for a way to get the actual value of a contact attribute (pager number) using "external command". But i'm unable to understand the documentation even if it seems to be possible...could someone help me ? URL i found about it : http://old.nagios.org/developerinfo/exter...
- Thu Nov 24, 2011 9:19 am
- Forum: Open Source Nagios Projects
- Topic: NRPE check returns different values ?
- Replies: 1
- Views: 1206
Re: NRPE check returns different values ?
i finally found my problem, nagios user wasn't allowed to run lsof command o nthe remote nrpe host.
- Tue Nov 22, 2011 5:11 am
- Forum: Open Source Nagios Projects
- Topic: NRPE check returns different values ?
- Replies: 1
- Views: 1206
NRPE check returns different values ?
Hello all, i have a check (simple plugin i have created named "/usr/lib64/nagios/plugins/check_nrpe_nbr_descripteurs_SOAS" on the remote host named "s-soas-01") that is done using NRPE : #!/bin/sh # set -x WARNING_VALUE=$1 CRITICAL_VALUE=$2 PID_NUMBER=`ps -edf | grep java | grep ...