9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies
2. Infrastructure Monitoring
We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side.
I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies
3. Shell Programming and Scripting
hi
i want to retrieve talespace, datafile's path , size and another size in following querry in shell
Create Tablespace 'A' Datafile 'Some
Path' Size '10G' extent management Local uniform size '64M';
from another file say 'A.txt' where i ll dumb data in sequence separated by commas... (2 Replies)
Discussion started by: Gl@)!aTor
2 Replies
4. Shell Programming and Scripting
Hi All,
I'm try to import a Calendar in Autosys using below command,
autocal_asc -I TKY_Test
Utility to Add/Delete or Print entries in Calendar.
Calendar Name:
But it not allowing me to import the calendar, it asks for the calendar which is similair if we try to manually add calender... (1 Reply)
Discussion started by: arvindcgi
1 Replies
5. Shell Programming and Scripting
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies
6. Infrastructure Monitoring
In order to get the Check_hpjd plugin for nagios to work, i have to get net-snmp (+utils) installed.
If i look in the yast Control center, iwe installed everything that should have something to do with snmp.
This is my first time with linux, so im abit of a noob. how do i get the plugin... (0 Replies)
Discussion started by: Nikos
0 Replies
7. HP-UX
Can anyone help with an HP Ignite problem please !!
We currently have 2 servers running HP-UX B.11.00 connected together and using a high availability cluster (serviceguard) running one package.
Each of the servers have 2 mirrored local disks. (also installed HP OpenviewDM B.05.03, Oracle 8.0.5,... (7 Replies)
Discussion started by: clivethegadget
7 Replies
8. Shell Programming and Scripting
Hi,
I am trying to import 22 .dmp files but facing the problem with the last table file it never ends the import command, only the table is created but the rows of the table don't get imported.
This is the problem with only ine table rest 21 tables are being imported properly.
Thanks in... (2 Replies)
Discussion started by: anushilrai
2 Replies
9. Linux
HELP!!
I am having some major problems at present with a HP dat drive under RH9. The drive worked fine previously under RH8, but now does not work.
I am using kernel 2.4.20-30.9 on a i686 athlon intel box.
My messages log shows the below:
Apr 23 11:39:24 devsys kernel: ahc_pci:1:6:0:... (0 Replies)
Discussion started by: dkimber6
0 Replies
Nagios::Plugin::Config(3pm) User Contributed Perl Documentation Nagios::Plugin::Config(3pm)
NAME
Nagios::Plugin::Config - read nagios plugin .ini style config files
SYNOPSIS
# Read given nagios plugin config file
$Config = Nagios::Plugin::Config->read( '/etc/nagios/plugins.ini' );
# Search for and read default nagios plugin config file
$Config = Nagios::Plugin::Config->read();
# Access sections and properties (returns scalars or arrayrefs)
$rootproperty = $Config->{_}->{rootproperty};
$one = $Config->{section}->{one};
$Foo = $Config->{section}->{Foo};
DESCRIPTION
Nagios::Plugin::Config is a subclass of the excellent Config::Tiny, with the following changes:
o Repeated keys are allowed within sections, returning lists instead of scalars
o Write functionality has been removed i.e. access is read only
o Nagios::Plugin::Config searches for a default nagios plugins file if no explicit filename is given to "read()". The current standard
locations checked are:
/etc/nagios/plugins.ini
/usr/local/nagios/etc/plugins.ini
/usr/local/etc/nagios /etc/opt/nagios/plugins.ini
/etc/nagios-plugins.ini
/usr/local/etc/nagios-plugins.ini
/etc/opt/nagios-plugins.ini
To use a custom location, set a "NAGIOS_CONFIG_PATH" environment variable to the set of directories that should be checked. The first
"plugins.ini" or "nagios-plugins.ini" file found will be used.
SEE ALSO
Config::Tiny, Nagios::Plugin
AUTHORS
This code is maintained by the Nagios Plugin Development Team: <http://nagiosplug.sourceforge.net>.
COPYRIGHT and LICENCE
Copyright (C) 2006-2007 by Nagios Plugin Development Team
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-12-03 Nagios::Plugin::Config(3pm)