Re: [Nagios-users] Nagios navbar search enhancement (Was: Questions about Nagios quick search)

2013-06-12 Thread Andreas Ericsson
On 2013-06-04 15:43, Jonas Meurer wrote:
> Hey,
>
> I just prepared a patch against git master (commit 758a64). I hope that
> it helps. Don't hesitate to ask if you've any questions.
>
> Also feel free to rename the config options if you don't like the names.
>
> The patch is attached.
>

Applied. Thanks.

I made the new options default to ON in the code and renamed them
"navbar_search_addresses" and "navbar_search_aliases" instead od the
"navbar_search_for..." since we're actually searching for hosts by
searching the hosts' configured properties.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios backdoor

2013-06-12 Thread Andreas Ericsson
On 06/06/2013 10:46 PM, William Leibzon wrote:
> Sounds like they got through some sort of security hole in apache and
> accessed database on the server, probably as apache/www user and not
> root. Unsure from the information given if this apache backdoor would
> have had anything to do with nagios cgi or not.
>
> BTW the description of how it happened is rather interesting. I
> remember 6 or 7 years ago when I was still following security more
> closely people have been talking about possibility of this (hacking
> with only in-memory application replacement) on certain forum that
> shall remain unnamed. I have never seen or heard of this being done at
> any company I consult for though.
>

It's not particularly difficult. All exploits work by modifying
executable code in memory to make a program do what they want. If one
can get root access that way, it's possible to freeze a process and
replace it entirely.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios init script not working on Ubuntu 12.04

2013-06-12 Thread Abhinav Upadhyay
Hi,

I just followed the instructions on
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html to
install the latest stable release of Nagios (3.5) on a fresh Ubuntu
12.04 machine. Everything went fine, but when I try to start nagios
using /etc/init.d/nagios start, I get following error:

/etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions

There is no file at /etc/rc.d/init.d/functions. It seems like the
Makefile could not put the functions file at /etc/rc.d/init.d ? Is it
a bug or I missed something?

Regards
Abhinav

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_by_ssh to Openvms system

2013-06-12 Thread Mr Allan Thorne
I am trying to use either command files or perl or c to return a status 
and value to check_by_ssh. When I test the command interactively
using:

/usr/lib64/nagios/plugins/check_by_ssh -H  -s c1 -C ""  -i 
 -l   -S 1 -E
I get

WARNING - check_by_ssh: Remote command  returned status 1

Any help would be appreciated.

Allan Thorne
eSolutions
Monash University

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Dynamic Balancing Machine

2013-06-12 Thread tema...@tg.com



Dear Sir or Madam:
 
CHINA IMPORT AND EXPORT FAIRAdd: NO 380.Yuejiang Zhong Road.Guangzhou ChinaPavilion:China Import and Export Fair ComplexExhibition position: 8.1 D08  JP Balancing MachineTime: 15.04 2013---19.04 2013   9:00a.m.-18:00p.m.Welcome to visit!!! 
   
Shanghai Jianping Dynamic Balancing Machine Manufacturing Co.,Ltd is pleased to inform you that we have now 
enlarged our global dynamic machines market .We are in the balancing machine and 
would like to have a share in your trade. Our various balancing machines would 
fit in well.We can quote you best prices. Please surf our website  If you are interested in our products,we 
can send a catalogue for you.
We look forward to your early replay.
PRODUCT:
1,belt drive balancing machine
2,universal joint drive balancing machine
3,single-plane vertical balancing machine
4,transmission shaft balancing machine
5,auto-positioning balancing machine
6,self-drive balancing machine and so on
 
 
TradeManager:cn220095562
MSN:gundam...@hotmail.com
Skype:oil.lerbron
 
Yours truly.
Oil



--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] How to use Check_cluster

2013-06-12 Thread Vilas Deshmukh
Dear Team,

I have searching  about check_cluster command from last couple of days. I
founds lots of sites and information. However, I could not understand how
to use it? because all time its output's depend on my input.  If I gave
input "OK" output is "OK", if I gave input "Critical" output also
"Critical".

My "clustat" command output as follows:

[root@centos libexec]# clustat
Cluster Status for hacluster @ Tue Jun 11 17:20:13 2013
Member Status: Quorate
 Member Name ID   Status
 --     --
 node1.altech.local  1 Online, Local, rgmanager
 node2.altech.local  2 Online, rgmanager

 Service Name   Owner (Last)
State
 ---  - --
 -
 service:Apache1node2.altech.local
started
 service:IPnode1.altech.local
started
[root@centos libexec]#

Now my check_cluster output as follows:

[root@centos libexec]# ./check_cluster -s -d 0,0 -w @1: -c @2:
CLUSTER OK: Service cluster: 2 ok, 0 warning, 0 unknown, 0 critical

[root@centos libexec]# ./check_cluster -s -d 1,1 -w @1: -c @2:
CLUSTER CRITICAL: Service cluster: 0 ok, 2 warning, 0 unknown, 0 critical

[root@centos libexec]# ./check_cluster -s -d 0,1 -w @1: -c @2:
CLUSTER WARNING: Service cluster: 1 ok, 1 warning, 0 unknown, 0 critical

[root@centos libexec]# ./check_cluster -s -w @1: -c @2: -d
$SERVICESTATEDID:node1.altech.local:IP,$SERVICESTATEDID:node2.altech.local:IP
CLUSTER OK: Service cluster: 2 ok, 0 warning, 0 unknown, 0 critical

How can I find error in cluster?

Please help me. I have confuse in this command.

Thanks,

Best Regards,
Vilas Deshmukh
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios init script not working on Ubuntu 12.04

2013-06-12 Thread Daniel Wittenberg
Functions is a file on rhel-based systems and provides common start/stop
routines. I dont use Ubuntu myself but if you figure out how to make it
work let me know. If I get some time I'll see if I still have an ubuntu
test VM to look at.

Dan
 On Jun 12, 2013 2:09 PM, "Abhinav Upadhyay" 
wrote:

> Hi,
>
> I just followed the instructions on
> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html to
> install the latest stable release of Nagios (3.5) on a fresh Ubuntu
> 12.04 machine. Everything went fine, but when I try to start nagios
> using /etc/init.d/nagios start, I get following error:
>
> /etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions
>
> There is no file at /etc/rc.d/init.d/functions. It seems like the
> Makefile could not put the functions file at /etc/rc.d/init.d ? Is it
> a bug or I missed something?
>
> Regards
> Abhinav
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Re : check_nt

2013-06-12 Thread Leveau Stanislas
Hi Nikolas

what is your command in commands.cfg
When you execute this command in command line, the result is the same?

regards
Stan

Le 12/06/13, Nikolas Twito   a écrit :
> 
>  
> 
>  
> 
> 
>  
> 
>  
>  
>  
> 
> 
> 
>  
>  
> Hello there
> 
> I use software  for evaluation XI Ngios
> 
> I'm trying for several  days to solve a problem - and I'd be happy  if you 
> have the solution.
> 
> I'm trying to get  information about the state of  reading and writing disks 
> windows server  2008
> 
> This is one of the commands  I run: 
> check_xi_service_nsclient!Mypassword!COUNTER!-l 
> "\\PhysicalDisk(_Total)\\Avg.Disk sec/Write","Avg.Disk sec/Write is %f" -w 1 
> -c 2!
>  
> 
> 
> But keep getting all the time  the value: Avg.Disk sec/Write is 0.00
>  
>  
>  
>  
>  
> Greetings
>  
> Nikolas
>  
>  
>  
>  
>  
> 
> 
> 
>  
>  
> 
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
> viruses.
> 
> 
>  
>
>  
>   
> 
> (http://robustus.impactia.com/AnalyticServer/redirect?cid=908b79e7232e4a08&mid=26487253&eurl=aHR0cDovL3d3dy5zaGxvbW8uY28uaWwvbWluaXNpdGUvY2FycmVudGFsL3RyYWNrL21pbmlfc3VubnkuYXNwP3JlZj0xODU=&istmp=enr...@shlomo.co.il";
>  target="1"> 
>   
>   
>   
>  
>  
> Intelligent Mail ™ Powered by do not 
> enrich(http://robustus.impactia.com/AnalyticServer/redirect?cid=908b79e7232e4a08&mid=26487253&eurl=aHR0cDovL3d3dy5pbXBhY3RpYS5jb20/Y2xrU291cmNlPXBvd2Vy&istmp=enr...@shlomo.co.il";
>  id="footer_url1" target="1">IMP@CTIA. 
> Please  
>  
> 
> 
>  
> 
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios init script not working on Ubuntu 12.04

2013-06-12 Thread Gavin Grieve [DATACOM]
You could try replacing the line that mentions functions with:
. /lib/lsb/init-functions

Note the full stop at the start is required.

I believe this is the Ubuntu equivalent.

--
Gavin Grieve

Systems Management Specialist |  Datacom  |  Datacom House, 68 Jervois Quay, 
Wellington, 6011, New Zealand
www.datacom.co.nz  |  PO Box 6376, Marion Square, 
Wellington, New Zealand 6141

From: Daniel Wittenberg [mailto:dwittenberg2...@gmail.com]
Sent: Thursday, 13 June 2013 7:30 a.m.
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios init script not working on Ubuntu 12.04


Functions is a file on rhel-based systems and provides common start/stop 
routines. I dont use Ubuntu myself but if you figure out how to make it work 
let me know. If I get some time I'll see if I still have an ubuntu test VM to 
look at.

Dan
On Jun 12, 2013 2:09 PM, "Abhinav Upadhyay" 
mailto:er.abhinav.upadh...@gmail.com>> wrote:
Hi,

I just followed the instructions on
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html to
install the latest stable release of Nagios (3.5) on a fresh Ubuntu
12.04 machine. Everything went fine, but when I try to start nagios
using /etc/init.d/nagios start, I get following error:

/etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions

There is no file at /etc/rc.d/init.d/functions. It seems like the
Makefile could not put the functions file at /etc/rc.d/init.d ? Is it
a bug or I missed something?

Regards
Abhinav

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Discussion: Nagios

2013-06-12 Thread Divya Raj
*Hi Nagios-Users,*
*
*
*Currently, I am working with Nagios where I have integrated it with a
database platform (remote machines) to listen to the alerts and display
them in the Nagios Web Interface. *

*Nagios here runs on RHEL. The remote mahine sends SNMP trap messages (its
an external device and not a box so no NRPE/SSH). I've setup SNMPTRAPD in
the machine which captures the snmp messages from the box and calls Nagios
command to route them to Nagios. **For this also, I have defined a trap
service to manage the incoming traps from the remote machine. *
*
*
*But, the problem is that only the topmost alert is displayed in the Nagios
(in the log as well as in the Nagios Web UI). Is that like till the first
one gets cleared the other alerts for the same service don't show up? The
thing is that I need all the alerts sent from the remote machine to be sent
under one service/host to Nagios.*
*
*
*Any pointers regarding this will be much appreciated.*
*Thank You.*
*
*
*Regards,*
*Divya.*
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null