9 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Issue: upon running - $ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
I'm receiving:
Error: Could not find any hostgroup matching 'network-printers' (config file '/usr/local/nagios/etc/printers/NC_FrontOffice.cfg', starting on line 10)
Error: Failed to process... (2 Replies)
Discussion started by: rgouette
2 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. UNIX for Advanced & Expert Users
Hi,
I have a application that writes log details to a file in a folder.
I am trying to write script to send mail to the user whenever the log is appended with "Error" string and details.
The user should receive error and error details in mail whenever there is a error in the file.
The... (4 Replies)
Discussion started by: maddy26615
4 Replies
4. Infrastructure Monitoring
Im new to monitoring so i was testing few monitoring tools and I've had this problem with nagios, i downloaded the Nagios XI VM and im using virtualbox to run it and when i reach the GRUB i get this Error 16 : inconsistent file system structure, i have tried troubleshooting the problem but i... (1 Reply)
Discussion started by: HashB
1 Replies
5. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
6. Shell Programming and Scripting
Hi All,
I have a problem of retrieving the first line of data from the listing i got back from this command :
ls -l * | awk '{print $9}' | awk -F. '{print $3}' | sort -g
the files names are in the folder are like
month.dat.201010210400
day.dat.201010210401
year.dat.201010210402
... (2 Replies)
Discussion started by: chipmuns
2 Replies
7. Infrastructure Monitoring
(1)check the service of nrpe
# libexec/check_nrpe -H 59.26.240.63
NRPE v2.8.1
(2)check the resource of nrpe's host
# libexec/check_nrpe -H 59.26.240.63 -c check_df
DISK OK - free space: / 8241 MB (77% inode=98%); /var 5239 MB (95% inode=99%); /usr 11971 MB (86%... (0 Replies)
Discussion started by: zhengsenlin
0 Replies
8. Infrastructure Monitoring
HI guyz,
I have a nagios 3.0.6 server which is running on fedora 5. I had already added some windows clients and monitoring it. Now i want to add a unix client.
Steps done till now : -
1.nagios-plugins-1.4.13 was installed and configured.
2.unzipped and untarred the NRPE 2.8
3.I gave a... (0 Replies)
Discussion started by: Renjesh
0 Replies
9. Shell Programming and Scripting
Hi all,
I need to retrive a value from a variable like so
temp1=test1
temp2=test2
num=2
while
do
pingvar=eval echo \$temp$num
echo $pingvar
let num=$num-1
done
in the "echo $pingvar" i get $temp2 and $temp1 but, I need to get the values of temp2 and temp1 which are test1 and... (2 Replies)
Discussion started by: afadaghi
2 Replies
Error Handling Helpers(3) globus common Error Handling Helpers(3)
NAME
Error Handling Helpers -
Error Match
globus_bool_t globus_error_match (globus_object_t *error, globus_module_descriptor_t *module, int type)
Print Error Chain
char * globus_error_print_chain (globus_object_t *error)
Print User Friendly Error Message
char * globus_error_print_friendly (globus_object_t *error)
Detailed Description
Helper functions for dealing with Globus Generic Error objects.
This section defines utility functions for dealing with Globus Generic Error objects.
Function Documentation
globus_bool_t globus_error_match (globus_object_t *error, globus_module_descriptor_t *module, inttype)
Check whether the error originated from a specific module and is of a specific type. This function checks whether the error or any of it's
causative errors originated from a specific module and is of a specific type. If the module descriptor is left unspecified this function
will check for any error of the specified type and vice versa.
Parameters:
error The error object for which to perform the check
module The module descriptor to check for
type The type to check for
Returns:
GLOBUS_TRUE - the error matched the module and type GLOBUS_FALSE - the error failed to match the module and type
char* globus_error_print_chain (globus_object_t *error)
Return a string containing all printable errors found in a error object and it's causative error chain. If the GLOBUS_ERROR_VERBOSE env is
set, file, line and function info will also be printed (where available). Otherwise, only the module name will be printed.
Parameters:
error The error to print
Returns:
A string containing all printable errors. This string needs to be freed by the user of this function.
char* globus_error_print_friendly (globus_object_t *error)
Return a string containing error messages from the top 1 and bottom 3 objects, and, if found, show a friendly error message. The error
chain will be searched from top to bottom until a friendly handler is found and a friendly message is created.
If the GLOBUS_ERROR_VERBOSE env is set, then the result from globus_error_print_chain() will be used.
Parameters:
error The error to print
Returns:
A string containing a friendly error message. This string needs to be freed by the user of this function.
Author
Generated automatically by Doxygen for globus common from the source code.
Version 14.7 Tue Nov 27 2012 Error Handling Helpers(3)