Search found 12 matches

by Tal
Mon Feb 10, 2020 5:47 pm
Forum: Open Source Nagios Projects
Topic: check_apc.pl --> running multiple check commands
Replies: 3
Views: 1662

Re: check_apc.pl --> running multiple check commands

check_apc.pl code (see attached)
by Tal
Fri Feb 07, 2020 7:06 pm
Forum: Open Source Nagios Projects
Topic: check_apc.pl --> running multiple check commands
Replies: 3
Views: 1662

check_apc.pl --> running multiple check commands

Does anyone know what the magic syntax is for running multiple check commands with this plugin would be? (see attached help page, etc.) techservices@vpd-nagios:/usr/local/nagios/libexec$ perl check_apc.pl -H192.168.60.3 -Cpublic -l out_status; bat_capacity; out_phase; out_load; bat_run_remaining <o...
by Tal
Fri Feb 07, 2020 4:30 pm
Forum: Open Source Nagios Projects
Topic: having issues with check_apc.pl
Replies: 3
Views: 1787

Re: having issues with check_apc.pl

Ok, thanks for the suggestion, BOX293..... I did as you suggested with my commands.cfg (this time I entered the paths completely as well) (new commands.cfg input) define command { command_name check_apc.pl command_line /usr/bin/perl /usr/local/nagios/libexec/check_apc.pl -H $HOSTADDRESS$ -C public -...
by Tal
Wed Feb 05, 2020 10:46 pm
Forum: Open Source Nagios Projects
Topic: having issues with check_apc.pl
Replies: 3
Views: 1787

having issues with check_apc.pl

Problem: (No output on stdout) stderr: Can't open perl script "/usr/local/nagios/libexec/check_apc.pl": No such file or directory I can perform a manual test of the plugin, but I get an error (path not found) when I plug it into Nagios. Why is nagios distorting the file path? I downloaded ...
by Tal
Mon Sep 24, 2012 4:10 pm
Forum: Open Source Nagios Projects
Topic: NConf plugin problem
Replies: 3
Views: 4887

Re: NConf plugin problem

Thanks, slansing....unfortunately the post is more for an ichinga configuration so it's not much help to me. I did run the suggested command (sudo -u www-data /usr/local/nagios/bin/nagios -v) and it returned "The name of the main configuration file looks suspicious....The main configuration fil...
by Tal
Mon Sep 24, 2012 12:59 pm
Forum: Open Source Nagios Projects
Topic: NConf plugin problem
Replies: 3
Views: 4887

NConf plugin problem

Ubuntu 10.04 Nagios: 3.4.1 Nconf 1.3.0 I know that NConf has it's own forum....but I thought I'd post my problem here as well as it seems to apply. Problem: When selecting "Generate Nagios Config" I get an error, "Error accessing or executing Nagios/Ichinga binary '/usr/local/nagios/b...
by Tal
Thu Sep 20, 2012 10:32 pm
Forum: Open Source Nagios Projects
Topic: how to display only the status information I want
Replies: 1
Views: 846

how to display only the status information I want

OS: Ubuntu 10.04 NAG ver 3.4.1 So, I've built my test switch config (with some major help from replies here) and I've got the service check commands I want....so now, under 'status information' ... (here is what I'm seeing) /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 10.24.167.52:161 ifName.10...
by Tal
Thu Sep 20, 2012 9:55 pm
Forum: Open Source Nagios Projects
Topic: check_snmp command to show vlan for port
Replies: 2
Views: 3219

Re: check_snmp command to show vlan for port

Thanks, JSMURPHY..

That was just what I needed.

Tal
by Tal
Sat Sep 15, 2012 12:22 am
Forum: Open Source Nagios Projects
Topic: check_snmp command to show vlan for port
Replies: 2
Views: 3219

check_snmp command to show vlan for port

system: Ubuntu 10.04 nagios: 3.4.1 I am trying to use check_snmp to show vlan of cisco switchports check_command check_snmp! -v 2c -C xxx -o ifName.10001, ifDescr.1 ,ifOperStatus.10001,ifPhysAddress,ifLastChange According to my OID list for my switch (snmp v2c) IF-MIB::ifDescr.1=STRING: Vlan1 Howeve...
by Tal
Mon Aug 20, 2012 6:14 pm
Forum: Open Source Nagios Projects
Topic: check_snmp for multiple MIB arguments
Replies: 1
Views: 2896

check_snmp for multiple MIB arguments

I am looking for help on using check_snmp with multiple MIB arguments.... for instance....would the syntax look like.... command_line $USER1$/check_snmp! -v 2c -H $HOSTADDRESS$ -C xxxx -o IF-MIB::(ifDesc.(port) = STRING | IF-MIB::ifName.(port) = STRING | IF-MIB .... basically I'm looking to tie a bu...