Re: [Nagios-users] warning

2013-08-27 Thread Giles Coochey

On 27/08/2013 07:51, bharat Varandani wrote:


My new issue is i want to configure Email notification in nagios that 
very useful for me and my company..I want if any HOST, PRINTER,SWITCH 
 is goes down i will get any notification in my email address..That is 
possible if yes so please help my configure this point ASAP.


ASAP and free community support are not really compatible terms. If 
you had a contract with me, and I had an obligation to help you then 
ASAP might have a meaning here.


--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___
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] Hey I was wondering about the check_ping from the newest stable plugins.

2013-08-09 Thread Giles Coochey

On 09/08/2013 15:23, Eliezer Croitoru wrote:

so the RT is more then 100ms which considered to be C\W but my output
is: # /usr/local/nagios/libexec/check_ping -vvv -H repo.ngtech.co.il
-w 100.0,20% -c 500.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5
repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL
- Network Unreachable (repo.ngtech.co.il) and: #
/usr/local/nagios/libexec/check_ping - -H repo.ngtech.co.il -w
500.0,20% -c 1000.0,60% CMD: /bin/ping6 -n -U -w 10 -c 5
repo.ngtech.co.il Got stderr: connect: Network is unreachable CRITICAL
- Network Unreachable (repo.ngtech.co.il) which is a bit weird why is
it using ping6 for a simple ping by default? Hos is the check_ping
recognises that there is a need for ping6 ?? the host dosn't even has
ipv6 connectivity.. Eliezer

  repo.ngtech.co.il
Server: 172.21.0.66
Address:172.21.0.66#53

Non-authoritative answer:
repo.ngtech.co.il   canonical name = proxy.treenet.co.nz.
proxy.treenet.co.nz canonical name = cairo.treenetnz.com.
cairo.treenetnz.com has  address 2002:3a1c:99e9:0:230:f1ff:fe14:5d47

--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.netsecspec.co.uk
giles.cooc...@netsecspec.co.uk



--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
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 alert messages not appearing in hipchat chat window.

2013-08-02 Thread Giles Coochey

On 31/07/2013 16:21, Kaushal Shriyan wrote:



On Sun, Jul 28, 2013 at 1:27 PM, Giles Coochey gi...@coochey.net 
mailto:gi...@coochey.net wrote:


On 27/07/2013 10:38, Kaushal Shriyan wrote:



On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan
kaushalshri...@gmail.com mailto:kaushalshri...@gmail.com wrote:

Hi,

Thanks for the reply. I have put the below entries in nagios
commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4.

define command {
command_name notify-host-by-hipchat
command_line /usr/bin/hipsaint
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host

--inputs=$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$

-n
}
define command {
command_name notify-service-by-hipchat
command_line /usr/bin/hipsaint
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307
--type=service

--inputs=$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$

-n
}

I am unable to see any nagios alert messages in hipchat
window. Please let me know if anyone needs more information.

Regards,

Kaushal


Hi,

Checking in again for my earlier post to this mailing list. Any
suggestions please?

Regards,

Kaushal


Have you tried running the command manually on the command line as
the nagios user?


Hi Giles Coochey,

Apologies for the delay in replying the email.

/usr/bin/hipsaint --token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 
--type=service 
--inputs=$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$


when i run the below command replacing all macros, I get the below issue.
[nagios@nagios ~]$ id
uid=502(nagios) gid=502(nagios) groups=502(nagios),503(nagcmd)
[nagios@nagios ~]$ /usr/bin/hipsaint 
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service 
--inputs=Main Website solr  Wed Jul 31 20:42:28 IST 2013 Recovery 
192.168.70.15 Recovery Ping OK

Traceback (most recent call last):
  File /usr/bin/hipsaint, line 9, in module
load_entry_point('hipsaint==0.4', 'console_scripts', 'hipsaint')()
  File 
/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/bin/commands.py, 
line 55, in main

msg.deliver_payload()
  File 
/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py, 
line 29, in deliver_payload

message_body = self.render_message()
  File 
/usr/lib/python2.6/site-packages/hipsaint-0.4-py2.6.egg/hipsaint/messages.py, 
line 56, in render_message
servicedesc, hostalias, timestamp, ntype, hostaddress, state, 
serviceoutput = self.inputs.split('|')

ValueError: need more than 1 value to unpack
[nagios@nagios ~]$

Please let me know if you need more information.


Hi,

So it appears that this isn't a nagios issue, please address this 
problem with hipsaint:


https://github.com/hannseman/hipsaint


--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
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 alert messages not appearing in hipchat chat window.

2013-07-28 Thread Giles Coochey

On 27/07/2013 10:38, Kaushal Shriyan wrote:



On Fri, Jul 26, 2013 at 8:03 PM, Kaushal Shriyan 
kaushalshri...@gmail.com mailto:kaushalshri...@gmail.com wrote:


Hi,

Thanks for the reply. I have put the below entries in nagios
commands.cfg file I am running Nagios 3.4.4 on CentOS 6.4.

define command {
command_name notify-host-by-hipchat
command_line /usr/bin/hipsaint
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=host

--inputs=$HOSTNAME$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$HOSTSTATE$|$HOSTOUTPUT$

-n
}
define command {
command_name notify-service-by-hipchat
command_line /usr/bin/hipsaint
--token=c29bab160e8e6a4f3ca39ba6fe7c1d --room=67307 --type=service

--inputs=$SERVICEDESC$|$HOSTALIAS$|$LONGDATETIME$|$NOTIFICATIONTYPE$|$HOSTADDRESS$|$SERVICESTATE$|$SERVICEOUTPUT$

-n
}

I am unable to see any nagios alert messages in hipchat window.
Please let me know if anyone needs more information.

Regards,

Kaushal


Hi,

Checking in again for my earlier post to this mailing list. Any 
suggestions please?


Regards,

Kaushal

Have you tried running the command manually on the command line as the 
nagios user?


--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] check_ntp_time offset unknown

2013-06-18 Thread Giles Coochey

On 14/06/2013 15:10, Bennett, Jan wrote:


We have implemented a NTP sync check in all of the NRDS checks that we 
are rolling out right now but I've run into a bit of a snag.


I am getting returns of 'Offset Unknown' on all clients.  It appears 
to only happen for a short period of time (30 min or so) and then it 
will clear its self up for a bit but the issue will always return.


From the client that is reporting the unknown offset, I can run the 
following:


# ./check_ntp_time -H localhost
NTP CRITICAL: Offset unknown|
# ./check_ntp_time -V
check_ntp_time v1.4.16 (nagios-plugins 1.4.16)
# ntpdc -p
 remote   local st poll reach  delay   offsetdisp
===
=LOCAL(0)127.0.0.110   64   17 0.0  0.00 0.96858
*timeserver1  xxx.xxx.xxx.xxx2   64   17 0.00098  4.956048 0.00580

# /usr/local/nagios/libexec/check_ntp_time -v -H localhost
sending request to peer 0
response from peer 0: offset -2.777669579e-07
sending request to peer 0
response from peer 0: offset -2.161832526e-07
sending request to peer 0
response from peer 0: offset -4.009343684e-07
sending request to peer 0
response from peer 0: offset -1.987209544e-07
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|

In my searches, I noticed a number of people reporting the same issue 
with the supposed solution being to update your Nagios plugins to 
1.4.13.  I have done so and am now running 1.4.16 without any change 
in the service check.


Also, I am unable to check a remote NTP server from these clients as 
they do not have access to the outside world.


It has been suggested that the stratum=0 may be the culprit, but I'm 
not sure of my options here.


Any help would be greatly appreciated.


I get this shortly after a NTP client has booted up. Once NTP has been 
running for a while it goes away.


--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
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] how to use logged-in (Apache) user in plugins?

2012-11-17 Thread Giles Coochey

On 16/11/2012 23:37, kask...@email.cz wrote:

Hello,

I`m trying, googling but with no success.

What I need is to adjust the output of a Nagios plugin depending on a 
user who is logged in the Nagios web interface. Like for example when 
nagiosadmin is logged in, the plugin will show more output/debug 
information than when just user secretary is logged in Nagios web.


Is that somehow possible?

You probably just want a different web front-end altogether for 
secretary... search around for different Nagios Front-Ends.


--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net




smime.p7s
Description: S/MIME Cryptographic Signature
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
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] circular parent/child chain

2012-11-17 Thread Giles Coochey

On 17/11/2012 17:08, Lucy Pelzer wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi List,

I am in charge for a big network infrastructure and at the moment we
evaluate solutions for our nagios monitoring with configuration via
monarch. I really would like to create the new solution with nagios and
puppet. There is only one big problem. In our infrastructure there are a
lot of switches connected together like this:

   
   | switch-1 |
   
 /   \
/ \
   /   \
    
   | switch-2 |-| switch-3 |
    
| |
| |
    
   | switch-5 |-| switch-4 |
    

Hi Lucy,

Although you have redundant physical interconnects for your switches, 
Spanning Tree, or Rapid Spanning Tree or even Multiple Spanning Tree 
protocols are taking effect and (probably) setting switch-1 as the Root 
with the other switches set to a higher spanning tree priority value - 
in any case, at layer two, during normal operation you don't have 
multiple active parents in the layer-2 infrastructure.


While you have redundancy, physically for your infrastructure, you are 
only using those links (for each VLAN at least), in a non-redundant way.


Setup your Nagios child / parent relationships as per spanning tree has 
worked out how it should be when everything is up, add some monitoring 
for spanning-tree within Nagios, that way everything will work, and 
you'll always be informed when something is wrong.


Thanks

Giles



All the time I try to configure this switch connections in nagios with
more than one parent, where the hosts are at the same time parent and
child, I get the following error:

ERROR: The host 'switch-2' is part of a circular parent/child chain!
...

I know by now that this is because nagios has to be hierarchically, but
I do not understand why. Maybe somebody could tell me exactly why I
can’t configure this in nagios or better could tell me how I can do it.
I only found the explanation that this could conduct a deadlock. Maybe I
am wrong, but is this not a likely network infrastructure? At last it is
no problem to build something like this with STP running in your network.


Great Thanks in advanced

Lucy
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQp8R0AAoJEBSbfrVvipee/GIIAI9fOkZzDr04z2m85YAnPg3M
Bc3w6b622H88RBHaUWnDBRtAzvQ8JNKncj7BlDrUuRBEIMH1K7Ze8ec0NRSt6hPu
/U0j92nalP16J0DtDK5jMgwQS2TM+TqVKODoj8jjYKEtgJLxok0RGxVurAj5vclf
rTDMokhhKoeu10KVseaQW/U42Vr92eqB2XrafdONaguTZ8IQ+dbul8jOCYxIKj+/
b961wWQyKijQ/LqHhoHh4u3dDGMmqlOJULQ/uX3+X29yhXa72gwYzdn4JpNJpiEV
B96kJ8mBkEpYLtkxPx1C3z4X4/hC/zfvf+N14JJFWR8ZVcGDhRrGK94pLj+vz1c=
=99+0
-END PGP SIGNATURE-

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
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



--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net




smime.p7s
Description: S/MIME Cryptographic Signature
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
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] What all ports need to be opened?

2012-08-23 Thread Giles Coochey

On 23/08/2012 16:46, Aravinth Anto Intern wrote:

I'm doing some checks on my client side. Say running cpu load check ,
apache check and others.

What ports you require open will completely depend on what you're 
checking. The cpu load check could be via SNMP, in which case you want 
to open the SNMP ports (I believe these are usually UDP). Apache might 
run on port 80 and / or 443 - but, to be honest, it could run on *ANY* 
port, you just need to allow the relevant access from your Nagios system 
to access that.


For each and every check, you need to evaluate how you are checking and 
create a rule for that particular access.


There are no shortcuts, not secure ones anyway (e.g. trust your 
monitoring system implicitly across your entire network).


--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.netsecspec.co.uk
giles.cooc...@netsecspec.co.uk


--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] check_snmp_ibm_imm.sh Plugin Help

2012-06-01 Thread Giles Coochey
an respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  
  
  
  ___
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



-- 
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net

  



smime.p7s
Description: S/MIME Cryptographic Signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] check_mysql

2012-05-30 Thread Giles Coochey

On 28/05/2012 13:19, Alexey Terentiev wrote:


Hi!

I am trying to install the nagios plugins with check-mysql parameter, 
but its keep failing.


It seems that all the librarys needed for the check_msql are installed 
on the server.


But just to make sure, can you send me the names of the libs required?

And also when I use the with-mysql=... where should I point it?

Sincerely yours,

Alexey Terentiev






On Centos / RedHat you're going to be looking for something like:

[root@mgmt1 ~]# locate libmysql
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient.so.16
/usr/lib64/mysql/libmysqlclient.so.16.0.0
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient_r.so.16
/usr/lib64/mysql/libmysqlclient_r.so.16.0.0
[root@mgmt1 ~]#

--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Confusion on nrpe

2012-05-09 Thread Giles Coochey

On 09/05/2012 14:33, Meyer, Bruce wrote:


HiJacking a thread? What are you talking about? If I had maintained
someone's subject but changed the content, that is hijacking a thread.
Merely hitting 'reply' and deleting the subject and replacing it, deleting
the body and writing my own does not seem to me, to qualify as hijacking a
thread. That is creating a new thread, by changing the subject and body.
Or am I completely missing something? I do sort by thread on my machine
and my emails are perfectly sorted. Perhaps you should start sorting my
subject instead of X-header or whatever you are threading on now.



When you upgrade to a threaded mail reader you will understand :-)

Actually, replying to another thread to start your own is considered 
'hijacking'


If you were to change or omit the following headers in your reply, then 
it would not be considered a hijack:


Thread-Index: Ac0sdhy95mbOFeZ/TfuR7Pqyo+E6LQ==
In-Reply-To:011701cd2c3b$a12b6240$e38226c0$@it.net


--
Best Regards,
Giles Coochey, CCNA Security, CCNA
NetSecSpec Ltd
giles.cooc...@netsecspec.co.uk
Tel: +44 (0) 7983 877 438
Live Messenger: gi...@coochey.net
http://www.netsecspec.co.uk
http://www.coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] sms notifications

2012-02-01 Thread Giles Coochey
 

On 2012-02-01 15:04, Marco Borsani wrote: 

 Hi all 
 
 To send
sms notifications, I am using since 2003 a couple of radiomodem,
connected via serial to my server and smstools SW. 
 
 Now, I need
something stronger compared that configuration because for specific
checks I have to send many and many sms at the same time. 
 
 What can
I use ? 
 
 Regards 
 
 Marco

Could you use a clickatel gateway
over a 3G modem connection? 

-- 
Message sent via my webmail account.
 --
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
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] R: sms notifications

2012-02-01 Thread Giles Coochey
 

The Clickatell API is essentially putting the message into a URL and
using wget to post it. 

The 3G modem would just be a way to route your
Internet via an out-of-band service so you can receive SMS's when your
normal internet goes down. 

I expect the API would allow for queueing
of SMSs, it's a much easier solution than running a bank of SMS gateways
yourself. 

On 2012-02-01 15:53, Marco Borsani wrote: 

 How does it
work with Nagios ? 
 
 DA: Giles Coochey [mailto:gi...@coochey.net] 

INVIATO: mercoledì 1 febbraio 2012 16:39
 A:
nagios-users@lists.sourceforge.net
 OGGETTO: Re: [Nagios-users] sms
notifications 
 
 Could you use a clickatel gateway over a 3G modem
connection? 
 
 -- 
 
 Message sent via my webmail account.

--

Message sent via my webmail account.
 --
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
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] monitoring dhcp

2012-01-24 Thread Giles Coochey
 

On 2012-01-24 14:00, Perfors, Henny wrote: 

 We've a Windows 2008
server with DHCP role. There is an option to display the statics of the
scope. 
 
 Total Addresses .. 
 
 In Use .. % 
 
 Available ..% 


 Is it possible to gt these information available in Nagios. 
 

Please advise.
 
 Thanks!
 Henry

It might be possible via SNMP,
ensure you have the windows DHCP MIB loaded, and try walking
1.3.6.1.4.1.311.1.3 and see what is available to you. 

-- 
Message sent
via my webmail account.
 --
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
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] monitoring dhcp

2012-01-24 Thread Giles Coochey
On 2012-01-24 14:36, C. Bensend wrote:
 We've a Windows 2008 server with DHCP role. There is an option to 
 display
 the statics of the scope.
 Total Addresses ..
 In Use .. %
 Available ..%

 Is it possible to gt these information available in Nagios.

 I haven't had much luck with this.  Microsoft doesn't expose hardly
 any of this data via WMI or any other interface that I've found.
 I haven't looked at Powershell yet, mostly because many of my
 servers do not have it installed (2003 -vs- 2008).

 The best I've been able to do is watch the event log for DHCP
 server complaints about a scope getting close to consumed.  Even
 *that* has been problematic, as the DHCP server service seems to
 arbitrarily decide when it wants to complain.  I ended up writing
 a custom plugin that watches the event log for those events, parsing
 the output, and deciding on whether it's appropriate to alert.

I don't think you'll have much trouble getting this via SNMP. It is 
defined in the MIB on a per-scope basis, suggest you go a snmpwalk on 
the OID I gave earlier and see what you get.

MIB excerpt:

   scopeTable OBJECT-TYPE
   SYNTAX  SEQUENCE OF ScopeTableEntry
   ACCESS  read-only
   STATUS  mandatory
   DESCRIPTION
   A list of subnets maintained by the server
   ::= { dhcpScope 1 }

   scopeTableEntry  OBJECT-TYPE
   SYNTAX  ScopeTableEntry
   ACCESS  read-only
   STATUS  mandatory
   DESCRIPTION
This is the row corresponding to a subnet
  INDEX   { subnetAdd }
   ::= { scopeTable 1 }

  ScopeTableEntry ::= SEQUENCE {
subnetAdd
IpAddress,

noAddInUse
Counter,

noAddFree
Counter,

noPendingOffers
Counter

}
   subnetAdd  OBJECT-TYPE
   SYNTAX  IpAddress
   ACCESS  read-only
   STATUS  mandatory
   DESCRIPTION
This is the subnet address 
   ::= { scopeTableEntry 1 }


   noAddInUse  OBJECT-TYPE
  SYNTAX  Counter
  ACCESS  read-only
  STATUS  mandatory
   DESCRIPTION
   This is the no. of addresses in use
::= { scopeTableEntry 2 }

   noAddFree  OBJECT-TYPE
  SYNTAX  Counter
  ACCESS  read-only
  STATUS  mandatory
   DESCRIPTION
   This is the no. of addresses that are free 
::= { scopeTableEntry 3 }

   noPendingOffers  OBJECT-TYPE
  SYNTAX  Counter
  ACCESS  read-only
  STATUS  mandatory
   DESCRIPTION
   This is the no. of addresses that are currently in the offer
   state
::= { scopeTableEntry 4 }

   END




-- 
Message sent via my webmail account.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
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 CONFIGURATION

2012-01-11 Thread Giles Coochey
On Wed, January 11, 2012 05:19, GODDY MUGO wrote:
 Hi,

 I am new to Nagios and would like assistance on how to configure my Nagios
 installed in Fedora 15, to monitor
 the flow of HL7 data and their ports and also monitor DICOM in my network,
 and last to have it send mail notifications.


Hi,

Having been away from Nagios for a while, I had a similar requirement to
get Nagios running on Centos yesterday evening.

I followed the following quickstart which worked just fine, the quickstart
is designed for Fedora so should be just what you're looking for:

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
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_http results - interpreting error messages.

2011-11-02 Thread Giles Coochey

I am monitoring a website, and I sometimes get two types of error:

One is:

CRITICAL - Socket timeout after 10 seconds

and the other is:

HTTP CRITICAL - No data received from host

What is the difference between the two errors? Is it the case that the 
HTTP CRITICAL error connected to the server via TCP, but didn't get a 
page and that the Socket timeout error didn't even establish the TCP 
connection?


Thanks

Giles



smime.p7s
Description: S/MIME Cryptographic Signature
--
RSA#174; Conference 2012
Save $700 by Nov 18
Register now#33;
http://p.sf.net/sfu/rsa-sfdev2dev1___
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] Question about Nagios Features

2011-10-26 Thread Giles Coochey
On Wed, October 26, 2011 10:28, Gian Karlo wrote:
 Hi everyone. I would like to evaluate OpenNMS but I would like to ask if
 if
 the features that I am looking is supported out-of-the-box. Thank you.

Wrong list... try the OpenNMS list.


--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-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] Newbie Question

2011-05-16 Thread Giles Coochey
On Mon, May 16, 2011 16:01, Matty Sarro wrote:
 Weird, I just reinstalled the plugins and I still don't see
 check_mysql_query or check_mysql. This is installing from source
 following the quickstart guide.


You may need some mysql devel packages on your system?


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
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] monitor http traffic

2011-04-01 Thread Giles Coochey

On 01/04/2011 01:48, khurram aziz wrote:
Can you share configurations here cauz i am not really in da mood of 
buying books at the moment :)



Are you in 'da mood' of paying a consultant to do it for you?

--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
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] Issue configuring MRTG

2011-02-28 Thread Giles Coochey

On 28/02/2011 13:51, Anand, Sakshi wrote:

All,
I am getting following error when configuring MRTG. I want to use it 
to measure bandwidth using Nagios.


This seems like a MRTG problem, have you tried asking the MRTG Mailing 
list, or posting on the MRTG Web Forums?


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-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] Check_snmp -d -s

2011-02-11 Thread Giles Coochey

On 11/02/2011 12:08, Tristan Drinkwater wrote:


Morning all,

I’m trying to refine a few snmp checks I do.

My command looks like this;

./check_snmp –H xx.xx.xx.xx –o READyNAS-MIB::diskState.1 –C nas-drive 
–P 2c –v


This produces the following;

/usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpriv] xx.xx.xx.xx 
READYNAS-MIB::diskState.1


READYNAS-MIB::diskState.1 = STRING: “dead”

SNMP OK – “dead” |

Now, as you can see from above, my disk 2 is ‘dead’ but Nagios reports 
this as ok. I’m under the impression I need to use the ‘–s’ switch to 
specify what is good and what is bad, based on matching a string from 
the output.


To me, the output above would suggest that the returning string is 
“dead” so to get it to report that this is actually bad I should use 
“-s ok” as “ok” is the string returned on all the other disks that are 
working ok.


- working disk---

/usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpriv] xx.xx.xx.xx 
READYNAS-MIB::diskState.2


READYNAS-MIB::diskState.2 = STRING: “ok”

SNMP OK – “ok” |

- working disk---

Sadly, this doesn’t work as it seems that “ok” and “dead” aren’t the 
returning strings. Neither are 1 and 0 as stated in the readynas MIB 
documentation.


Anyone got any ideas??

Have I messed up the syntax??



Have you tried --eregi=ok

?

--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] using check_udp

2011-02-09 Thread Giles Coochey

On 09/02/2011 13:23, julian_grunn...@tdwh.co.uk wrote:


Hi - has anyone successfully got check_udp working? I'm trying to use 
check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a 
send/expect string and I've no idea what this is meant to be?


The target server is running syslog and the check so far has just been 
failing with this:


/opt/tools/libexec/check_udp -H 192.168.75.131 -p 514
With UDP checks, a send/expect string must be specified.


So I guess my question is simply what should the following be set to:

--send=STRING
--expect=STRING



Hi,

UDP is a connectionless protocol, because of this you can't just check 
to see whether the port is open like you can with TCP (which has a port 
open handshake -- SYN -- SYN/ACK etc...)


I'm guessing that the --send string is what you will send to the UDP 
port in question and the --expect string is what you will expect back.


After a quick review of UDP/514 (syslog) and RFC3164, it appears to me 
that you cannot check this port using that particular check, because the 
syslog port will not report back to the sender in anyway (at least from 
what I can see).


Therefore, I would recommend that you try a packet capture to verify 
this is the case and research another method of monitoring syslog, it 
could be a passive check to see how old the latest logs in your syslog 
are with a use of MARK entries in the syslog to ensure it's refreshed 
from time to time.



--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] CRITICAL - Socket timeout after 10 seconds

2011-02-02 Thread Giles Coochey

On 02/02/2011 12:12, akp geek wrote:

Now I have increased the timeout to 60 seconds. Now I am getting

node name or service name not known
HTTP CRITICAL - Unable to open TCP socket

Thanks for the suggestions

Regards


On Tue, Feb 1, 2011 at 7:49 PM, steve f a31mod...@hotmail.com 
mailto:a31mod...@hotmail.com wrote:


 Most plugins time out after 10 seconds of not being able to
contact a service (FTP, HTTP, etc). If the plugins are timing out
after a short period of time, increase the timeout value for the
plugin using the appropriate command line argument for that
plugin. Try using a -t 12.

I think that only the plugin timeout default value is 10 seconds,
the other timeouts are higher.  Someone else smarter than me can
verify that.

Is this check_http failing every time now or only occasionally ? 
Try running the check to a different site and see if those fail as

well.

Is the server possibly busy at the same time??

Let us know what you find out.

Steve


Date: Tue, 1 Feb 2011 18:30:55 -0500
From: akpg...@gmail.com mailto:akpg...@gmail.com
To: nagios-users@lists.sourceforge.net
mailto:nagios-users@lists.sourceforge.net
Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds


Hi all -

   I have been using nagios for a while to check whether
some our web sites are  up and running

following is the line from the commands.cfg

*command_line $USER1$/check_http -w 5 -c 10  -H our_dns_name -u
/siteName -S -v*


It was working fine. Starting this afternoon, it started giving
Socket time out. Logs have no information. Can you please share
your experiences ?


Regards


Have you tried speaking with the administrators of the web servers? I 
remember once I was running some web-server analytic on one of my 
webservers and I found lots of spurious connections from a particular 
host... I assumed it was a lame DoS attack and simply put in a iptables 
command to block any incoming traffic from that IP. All the requests 
were silly and every 30 seconds or so.
Soon after I got a call from our NOC asking me if I could take a look at 
the webserver as it seemed to be down... of course, they never told me 
that they were monitoring it for uptime... nor did they actually check 
the webserver on a different client system...  I guessed the company I 
was working for was actually more interested in seeing whether I was 
meeting a SLA rather than properly communicating their monitoring systems...
But either way, if the web admin has blocked you then I imagine you'd 
get that error...


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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 doesn't trigger command

2011-02-02 Thread Giles Coochey

On 02/02/2011 15:25, Libor Jelinek wrote:


But no command is executed! I tried to create replace default
notify-host-by-email's command_line to the very basic command 'echo
test  /home/libor/notif_works' to test if notification is triggered.

Usually this is down to permissions. Does the nagios user, or the user 
that nagios runs as have write access to the /home/libor directory?


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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] Alert via SMS

2011-01-26 Thread Giles Coochey

On 26/01/2011 09:54, David Seira wrote:

Hi.

There are several ways for do it. You can use a email-to-sms gateway; 
there are some portal that are free. But I prefer use a 3g modem 
connected to the nagios server; you send the sms with the gnokii 
program, it's easy. The bad thing is you need to pay the 3g. The good 
thing for use a 3g modem is that if you lose connectivity with the 
gateway you even send notifications.


Bye.
3g modem is the best way as it is an Out-Of-Band method, you can 
probably find a provider that offers an unlimited SMS package.


I've heard endless stories of people implementing this and disabling it 
straight away due to too many notifications. The older cell phones 
(often used for on-call duty) have limited memory space for messages and 
deleting them can be a bit of a pain too. I would recommend that you 
limit SMS notifications to escalations or a sub-set of your 
notifications (Priority-1 systems for instance).


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey





smime.p7s
Description: S/MIME Cryptographic Signature
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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] Disabling Nagios in the event of network card failure.

2010-10-12 Thread Giles Coochey
On Tue, October 12, 2010 16:38, Max Hetrick wrote:
 On 10/12/2010 07:56 AM, Kristan Webb wrote:
 Hi All,

 Hopefully an easy query.

 We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop
 Nagios falsely reporting services/hosts as down/unknown if, for example,
 the network cable was pulled out of the server / the card failed. This
 has happened recently for over an hour and now all hosts/services have a
 false hours downtime.

 I'm not too bothered, but I like to try and keep things as neat as
 possible.

 Does anyone know of a way of preventing this? All I can think is some
 way of detecting when the server has lost network and then automatically
 quitting / disabling Nagios?

 This is pretty much the entire point of Nagios, that is to report when
 something has failed.

 If you're intentionally taking down the network on the host, then I
 would suggest scheduling downtime for that host if you or others know
 you're going to take it down for a period of time, otherwise, Nagios is
 doing it's job.


I thought you could do some generic test to check the network connectivity
(ping default gateway, for instance) and make that test the parent or
grand^x-father of all other tests.
That way if you lose connectivity, that test will fail, others will become
unknown.



--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
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] return code of 127 is out of bounds -plugin maybe missing

2008-04-03 Thread Giles Coochey
This would best be covered by the Support channels for Net-SNMP (if installing 
from source), or your Operating System support channels.

It is not really a Nagios issue, simply a pre-requisite for check_snmp.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Dehaini
Sent: 03 April 2008 11:21
To: [EMAIL PROTECTED]; Nagios Users Mailinglist
Subject: Re: [Nagios-users] return code of 127 is out of bounds -plugin maybe 
missing

Read my last mail to you. It depends on the linux distro you are using. What 
linux distro are you using?
On Thu, Apr 3, 2008 at 9:18 AM, [EMAIL PROTECTED] wrote:

Alex/Pili

How to install that !!




Alex Dehaini [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
04/03/2008 02:44 PM
To
Pili Muñoz Gargallo [EMAIL PROTECTED], Nagios Users Mailinglist 
nagios-users@lists.sourceforge.net
cc

Subject
Re: [Nagios-users] return code of 127 is out of bounds -plugin may        be 
missing







Pili is correct. You have to install net-snmp before you compile nagios plugins

On Thu, Apr 3, 2008 at 8:57 AM, Pili Muñoz Gargallo [EMAIL PROTECTED] wrote:
did you installed net_snmp before compiling pluggins?
look in the libexec subfolder if you have check_snmp... if you installed nagios 
in /usr/local/nagios it should be in /usr/local/nagios/libexec
if you didn´t installed net-snmp before you should do it and recompile pluggins


2008/4/3, [EMAIL PROTECTED][EMAIL PROTECTED]:

Alex

the plugin is check_snmp


Alex Dehaini [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04/03/2008 02:17 PM

To
[EMAIL PROTECTED], Nagios Users Mailinglist 
nagios-users@lists.sourceforge.net
cc

Subject
Re: [Nagios-users] return code of 127 is out of bounds -plugin may        be 
missing








I mean which exact plugin is giving you this error i.e. ./check_tcp? which 
plugin?

On Thu, Apr 3, 2008 at 8:45 AM, [EMAIL PROTECTED] wrote:

Alex


nagios plugin 1.4.11
Is it the correct version, else which one to use


Alex Dehaini [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04/03/2008 01:57 PM

To
[EMAIL PROTECTED], Nagios Users Mailinglist 
nagios-users@lists.sourceforge.net
cc

Subject
Re: [Nagios-users] return code of 127 is out of bounds -plugin may        be 
missing










Which plugin are you using to monitor this host?

On Thu, Apr 3, 2008 at 7:21 AM, [EMAIL PROTECTED] wrote:

Hi All

While looking thru the service for one device I am getting the error return 
code of 127 is out of bounds -plugin may be missing , the device is a switch 
and I am looking at the details port 1.

Pls help.





The information contained in this e-mail message is intended only for the use 
of the individual or entity to which it is addressed. If you are not the 
intended recipient, you should return it to the sender immediately. Please note 
that while we scan all e-mails for viruses we cannot guarantee that any e-mail 
is virus-free and accept no liability for any damage caused by any virus 
transmitted by this email.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com

Email - [EMAIL PROTECTED]

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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




The information contained in this e-mail message is intended only for the use 
of the individual or entity to which it is addressed. If you are not the 
intended recipient, you should return it to the sender immediately. Please note 
that while we scan all e-mails for viruses we cannot guarantee that any e-mail 
is virus-free and accept no liability for any damage caused by any virus 
transmitted by this email.



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Nagios-users mailing 

Re: [Nagios-users] Help : Unable to see any Host except local Host

2008-04-02 Thread Giles Coochey
Did you try restarting or reloading the Nagios process?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 02 April 2008 09:59
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Help : Unable to see any Host except local Host
Importance: High

 


Dear All

I have made changes in nagios.cfg and switches.cfg files but still I am
unable to see the device.I have also added nagios machine in access-list
of the switches.

Also I have added a windows server 2003 with necessary changes done on
both ends as per the nagios documentation, bt still the device is not
coming , nagios home page is showing only local host.

Please help.

 


The information contained in this e-mail message is intended only for
the use of the individual or entity to which it is addressed. If you are
not the intended recipient, you should return it to the sender
immediately. Please note that while we scan all e-mails for viruses we
cannot guarantee that any e-mail is virus-free and accept no liability
for any damage caused by any virus transmitted by this email.

image001.gif-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Help : OID

2008-04-01 Thread Giles Coochey
I think you will need to do some research here:

 

SNMP : http://www.oreilly.com/catalog/esnmp/

Cisco MIB Browser: 
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=ensubstep=2t
ranslate=Translatetree=NO

 

There is no hard and fast answer, it depends exactly what on that switch
you want to monitor.

 

If you just want to check that the switch is on, use something like
check_ping and forget SNMP altogether.

 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 01 April 2008 13:41
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Help : OID
Importance: High

 


Hi All

I have installed nagios 3.0 , Now I want nagios to monitor switch rather
than monitoring local host.To add the switch I have made changes in
switch.cfg file but I am unable to find OID for my switch cisco 3550.

I used the command snmpwalk .. but I started getting a long list
of ids , so which ID to chosse from that list.



 


The information contained in this e-mail message is intended only for
the use of the individual or entity to which it is addressed. If you are
not the intended recipient, you should return it to the sender
immediately. Please note that while we scan all e-mails for viruses we
cannot guarantee that any e-mail is virus-free and accept no liability
for any damage caused by any virus transmitted by this email.

image001.gif-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Help : OID

2008-04-01 Thread Giles Coochey
Pallav, why don't you just google for this?

 

I don't think many on this list appreciate being your personal search engine. 
None of us get paid for our advice on this list, and there are plenty out there 
who are happy to get paid for this type of consultancy.

 

This link seems to have much of the information you might need: 
http://nagios.manubulon.com/index_info.html

 

I'm sure there are specific Cisco check plugins out there as well. Any google 
search for something including some of the following search terms: Nagios, 
Cisco, SNMP, Plugin, Check will unearth a myriad of methods you can use to 
achieve what you need.

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 01 April 2008 14:36
To: [EMAIL PROTECTED]
Cc: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Help : OID
Importance: High

 


Dear Narendran

I have read the documentation ,the problem is I want to know from where I can 
get the OID for CPU usage,  memory usage , sytem description, port status etc 



 



[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]

04/01/2008 05:59 PM

To

[EMAIL PROTECTED], [EMAIL PROTECTED]

cc

nagios-users@lists.sourceforge.net, [EMAIL PROTECTED]

Subject

Re: [Nagios-users] Help : OID

 

 

 




Pallav,
 
You need to read the documentation...
 
http://nagios.sourceforge.net/docs/3_0/quickstart.html 
http://nagios.sourceforge.net/docs/3_0/quickstart.html 
 
http://www.nagios.org/docs/ http://www.nagios.org/docs/ 
 
http://www.nagioscommunity.org/wiki/ http://www.nagioscommunity.org/wiki/ 
 
If you face any issues while doing so the group can help you.
 
Best Regards,
 
Narendran Neelamegam
--
Wipro Technologies
Electronics City, Bangalore
Mob: +91 9740811699 | Ph: +91 80 3029 6844 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 5:34 PM
To: Michael Schwartzkopff
Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Help : OID


I want to monitor CPU usage , memory usage , sytem description, port status 





Michael Schwartzkopff [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]

04/01/2008 05:36 PM

 

To

nagios-users@lists.sourceforge.net

cc

 

Subject

Re: [Nagios-users] Help : OID

 

 

 





Am Dienstag, 1. April 2008 13:40 schrieb [EMAIL PROTECTED]:
 Hi All

 I have installed nagios 3.0 , Now I want nagios to monitor switch rather
 than monitoring local host.To add the switch I have made changes in
 switch.cfg file but I am unable to find OID for my switch cisco 3550.

 I used the command snmpwalk .. but I started getting a long list
 of ids , so which ID to chosse from that list.

The OID depends on what you want to look for. So first os all, get yourself 
sure, what you want to monitor. CPU load, temperature of the divice, package 
or octet throughput (if yes: on what port), ...? When you walked through the 
MIB fo your device you will see that the switch delivers a lot of 
information.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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



The information contained in this e-mail message is intended only for the use 
of the individual or entity to which it is addressed. If you are not the 
intended recipient, you should return it to the sender immediately. Please note 
that while we scan all e-mails for viruses we cannot guarantee that any e-mail 
is virus-free and accept no liability for any damage caused by any virus 
transmitted by this 
email.-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Nagios-users mailing list

Re: [Nagios-users] Unable to get notifications running for SNMP check.

2008-03-31 Thread Giles Coochey
Firstly, the tests you show as examples appear to be working just fine
(though note it appears you are running them as root, so you won't know
what happens when they're run as the Nagios user).

 

Secondly, you should check what the notification options are for your
contacts and the service.

 

Check the service_notification_commands, service_notification_options,
service_notitification_period for the contact, as well as the following
for your service: notifications_enabled, notification_options,
notification_period also check the contacts for the host that is
assigned to the service.

 

You may need to dig a little further if you are using templates, but you
can override these by supplying them with the appropriate contact,
service  host.

 

Further information can be found in the documentation.

 

Hope this helps,

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Nicholas Magers
Sent: 31 March 2008 04:55
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Unable to get notifications running for SNMP
check.

 

I have pulled all my hair out in my quest to get notifications working
for an SNMP check I am running. All my other host and service checks
work fine and I can generate notifications but  with the SNMP check
nothing happens. In the web interface The values change as expected OK
to critical for example. The only thing I can think of is that the value
returned is not generating a notification. Any help would be
appreciated.

 

[EMAIL PROTECTED] ~]# /usr/lib64/nagios/plugins/check_snmp -v -H
env-qs-ups02 -o 1.3.6.1.2.1.33.1.5.3.1.2.1 -c 230:260

/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public env-qs-ups02:161
1.3.6.1.2.1.33.1.5.3.1.2.1

iso.3.6.1.2.1.33.1.5.3.1.2.1 = INTEGER: 243

 

SNMP OK - 243 | iso.3.6.1.2.1.33.1.5.3.1.2.1=243  

 

[EMAIL PROTECTED] ~]# /usr/lib64/nagios/plugins/check_snmp -v -H
env-qs-ups02 -o 1.3.6.1.2.1.33.1.5.3.1.2.1 -c 230:235

/usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public env-qs-ups02:161
1.3.6.1.2.1.33.1.5.3.1.2.1

iso.3.6.1.2.1.33.1.5.3.1.2.1 = INTEGER: 243

 

SNMP CRITICAL - *243* | iso.3.6.1.2.1.33.1.5.3.1.2.1=243  

***
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. 

Views expressed in this message are those of the individual sender, and
are not necessarily the views of the Department of Lands.

This email message has been swept by MIMEsweeper for the presence of
computer viruses.
***

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Can Cacti poll passively via Nagios client?

2008-03-26 Thread Giles Coochey
A little off-topic, but those using both Cacti and Nagios may have some
interest in this thread:

http://forums.cacti.net/about25930-0.html

Disclaimer: I have made most of the posts on this thread.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Antwort: View - Update every 90 seconds

2008-03-14 Thread Giles Coochey
I stand corrected... must be Friday :-(

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 14 March 2008 15:49
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Antwort: View - Update every 90 seconds

 


[EMAIL PROTECTED] schrieb am 14.03.2008 15:45:48:

 I'd like to increase the default seconds used to refresh all the 
 views on nagios. 
 Actually I read: Updated every 90 seconds 
   
 I hoped to do this change with the parameter 
 freshness_check_interval inside nagios.cfg, but I wrong. 
   
 Can be done in different ways? 

Quoting from cgi.cfg: 

# REFRESH RATE 
# This option allows you to specify the refresh rate in seconds 
# of various CGIs (status, statusmap, extinfo, and outages). 

refresh_rate=90 

-- 
Sascha Runschke
Netzwerk-  und  Systemmanagement-Abt. Organisation und Betrieb 
- IT-Infrastruktur
Telefon : +49 (201) 102-1879Mobil : +49 (173) 5419665Fax : +49 
(201) 102-1102105 


GFKL Financial Services AG
Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. 
Tom Haverkamp
Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma
Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] View - Update every 90 seconds

2008-03-14 Thread Giles Coochey
Cgiutils.h

 

DEFAULT_REFRESH_RATE

 

Then recompile

 

Can only be changed through source recompilation as far as I know.

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Borsani
Sent: 14 March 2008 15:46
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] View - Update every 90 seconds

 

Hi all.

 

I'd like to increase the default seconds used to refresh all the views on 
nagios.

Actually I read: Updated every 90 seconds

 

I hoped to do this change with the parameter freshness_check_interval inside 
nagios.cfg, but I wrong.

 

Can be done in different ways?

Marco Borsani
Technical Operation

tel.:+390104310115
e-fax: +390683175950
*   [EMAIL PROTECTED]

ITnet S.r.l.
Direzione e Coordinamento di Weather Investments S.p.A.
Via Pacinotti, 39
16151 - Genova


In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, 
le informazioni contenute in questo messaggio sono strettamente riservate e 
sono esclusivamente indirizzate al destinatario indicato (oppure alla persona 
responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o 
divulgazione di questo messaggio è vietata. Nel caso in cui aveste ricevuto 
questa mail per errore, Vi invitiamo ad avvertire il mittente al più presto a 
mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto.

According to Italy's new data protection code (Legislative Decree no. 196/2003) 
in force on January 1st 2004, Italian Law 196/03 concerning privacy, the 
information contained in this e-mail is confidential and is intended for the 
addressee only. If you are not the correct recipient, please note that any use, 
dissemination or copy of this document/information is strictly prohibited.If 
you have received this message in error, you should destroy it and please 
notify us immediately by e-mail.

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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 2.11 changelog

2008-03-12 Thread Giles Coochey

I see 2.11 is released...

Has anyone worked out how to get to the Changelog, since the Nagios.org
site changed the download pages?

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring Router Errors

2008-03-07 Thread Giles Coochey
 
 Hi Guys,
 
 How can I use nagios to monitor if there are any errors on my cisco
 routers i.e. CRC errors, frame-relay or any sort of errors we have on
 the routers.
 
snmp

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Email notification stopped!!

2008-03-07 Thread Giles Coochey
TIP: If you make your configuration a CVS or SVN repository then you
would be able to track exactly what configuration change you made that
caused this problem.

 

It might be related by your Nagios system unable to send emails, it
might be caused by updates resulting in a change of paths to your
executables used to generate notifications.

 

Check logfiles, check for errors, and then check the psychics on the
Nagios-users mailing list :-)

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sachin
holikar
Sent: 07 March 2008 14:44
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Email notification stopped!!

 

 

Hi,

 

We have configured Nagios 2.9 onto Linux Box recently. In the event of
an issue , Email notification is being sent to my mailbox. Everthing was
setup so far. 

Suddenly the Email notifications have stopped coming.

 

I checked the log files and found that notifications are getting sent ,
it just that mail is not getting generated. This I checked from maillog.

 

See below,

/var/log/nagios/nagios

 

[1204896767] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING:
HTTP/1.1 404 Not Found
[1204896827] SERVICE ALERT: localhost;HTTP;WARNING;HARD;2;HTTP WARNING:
HTTP/1.1 404 Not Found
[1204896827] SERVICE NOTIFICATION:
itsme;localhost;HTTP;WARNING;notify-by-email;HTTP WARNING: HTTP/1.1 404
Not Found

 

Now whats gone wrong suddenly?

Is there any way to check out??

 

Thanks in advance.

 

-Sachin


 

  



Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearc
h/category.php?category=shopping 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Monitoring Router Errors

2008-03-07 Thread Giles Coochey
 Any specific OID to monitor. Please give me an example
 
All detailed in the IF-MIB

Get the Interface MIB and walk your cisco for the OIDs

RFC2020 (20-20 eyesight required for that one or google)

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Retry interval on hard states

2008-03-07 Thread Giles Coochey
 This is expected behavior. I'm curious, what kind of environment are
you
 in when up to 5 minute delay in notification of recovery is
 'substantial'?
 

Hi Marc,

I know I'm not the target of your question, but...

Some require 5 figure uptime reports for their SLAs, and a 99.999% SLA
is often requested by users and customers.

That only gives us 315.36 seconds of downtime per year per service.

In that scenario a 5 minute delay, in order to use any of Nagios'
performance monitoring, is far too large for the margin of error.

That is an extreme case, but even 4 9s SLAs will suffer as a result.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Display Error

2008-03-07 Thread Giles Coochey
I stopped and started the httpd service.

Is it actually running?

Linux:

ps -aux | grep httpd

Solaris:

ps -ef | grep httpd

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Display Error

2008-03-07 Thread Giles Coochey
 Giles,
 It is running because I have MRTG running on the same server and I can
 browse to the graphs.
 

OK, nice, I forgot you mentioned that.

Still looks like an apache problem, I assume you are using a virtual
host / host header type set up. And that would need to be checked.

When Nagios has a problem or isn't running, Apache normally gives a
different error to the one you have described. So from here, it looks
like an Apache configuration problem.

Cheers,

Giles

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Display Error

2008-03-07 Thread Giles Coochey
 Giles,
 Isn't there supposed to be a Nagios folder under /var/www/html?  If so
 it isn't there any more.
 

Mike,

That would depend on installation.

You might have something like:

Alias /nagios /path/to/nagios/share

In your http.conf which will make it work at whatever path as long as
permissions are permissible.

(post to list, I'm going home in a few minutes and who's going to help
you over the weekend?)

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring Unix servers CPU, memory and hard-disk

2008-03-05 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Alex Dehaini
 Sent: 05 March 2008 12:33
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Monitoring Unix servers CPU, memory and
hard-disk
 
 Hi Guys,
 
 What plugin can I use to do these?
 

Check_load, check_disk, check_procs

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring Unix servers CPU, memory and hard-disk

2008-03-05 Thread Giles Coochey


 
 Also, check_load and check_procs doesn't tell you the memory that is
 used or the memory that is free. What plugin can I use for that?
 

Check out
http://www.nagiosexchange.org/Linux.55.0.html?tx_netnagext_pi1[p_view]=
1149

Note that UNIX systems have different memory management systems and can
use, in the case of Linux, practically all spare memory for buffers and
cache to improve performance.

You will need to take this into account when choosing an appropriate
plugin.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring Unix servers CPU, memory and hard-disk

2008-03-05 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Melanie Pfefer
 Sent: 05 March 2008 16:01
 To: Hari Sekhon; James E. Pratt
 Cc: Nagios Users
 Subject: Re: [Nagios-users] Monitoring Unix servers CPU, memory and
hard-
 disk
 
 check_load works on the local server only right?
 
 how to check_load on $HOSTNAME???
 


NRPE http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Problem with Service Escalation 3.0rc3

2008-03-04 Thread Giles Coochey
Hi,

 

Have you actually got any services defined?

 

Thanks


Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Sent: 04 March 2008 10:44
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Problem with Service Escalation 3.0rc3

 

Dear All,

 

as stated above, I am running nagios 3.0rc3 and I seem to have a lack of
understanding.
I should state that I am new to nagios.

 

I plan to have a host and service escalation for all hosts (with their
associated services) belonging to a specific hostgroup. So here is what
I have so far:

 

define hostgroup{
hostgroup_namegroup1
alias group1
}

 

define contact{
contact_name   groupNetwork
usegeneric-contact
alias  groupNetwork
email  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
}

 

define host{
usewindows-server
host_name  host1
alias  Host 1
hostgroups group1
address10.0.0.1
parentsDUSSW00
contacts   defaultContact
}

 

define hostescalation{
hostgroup_namegroup1
contacts  groupNetwork
first_notification1
last_notification 0
notification_interval 120
escalation_period workhours
}
define serviceescalation{
service_description*
hostgroup_name group1
contacts   groupNetwork
first_notification 1
last_notification  0
notification_interval  120
escalation_period  workhours
}

 


When I try to start nagios, it tells me that it Could not expand
services specified in service escalation.

 

The plan is to send a mail to defaultContact 24x7 and to groupNetwork
only in the working hours. When I remove the service escalation, I only
get notifications when the host is down (guess this is by design).

 

Is there any other way how I can achieve this?

 

Any help is very much appretiated.

 

Cheers
Klaus

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] check_snmp_mem.pl

2008-03-04 Thread Giles Coochey
What is $USER7$ macro? In your resource.conf?

Likely to be the Community string, as that is what resource.conf is generally 
for.

check_snmp_mem.pl -H 41.211.3.218 $USER7$ communitystring -w -I -c 80 98

Is what your command translates too, which wouldn't work.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Dehaini
Sent: 04 March 2008 10:47
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp_mem.pl

Hi Guys,

I am having difficulties using this plugin. I can't get it to work. Can you 
guys help me please. What is syntax in the commands.cfg file and in the service 
file of the cisco router I intend to monitor. This is what I have

commands.cfg

define command{
  command_name check_snmp_mem_v1
  command_line $USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $USER7$ $ARG1$ -w 
$ARG2$ -c $ARG3$ $ARG4$
}

In my service definition file

define service{
        use                             core-rservice
        host_name                  core
        service_description      Memory
        check_command          check_snmp_mem_v1!communitystring!-I!80!98
        }

This is the result I get in nagios web cgi

Memory




CRITICAL
03-04-2008 09:29:57
0d 14h 2m 0s
6/6
(Return code of 127 is out of bounds - plugin may be missing)


I reckon I am not doing something right because the plugin works from the 
command line i.e.

snmp:/usr/local/nagios/libexec# ./check_snmp_mem.pl -H 41.211.3.218 -C 
communitystring -I -w 40% -c 90%
Processor:24%,I/O:60% : 28% :   40 ; WARNING 

What am I doing wrong?


-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring windows servers

2008-03-04 Thread Giles Coochey
I've used NC_Net for this. It has most of your metrics built in and can
also check specific Windows Services.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 04 March 2008 11:55
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Monitoring windows servers

 

Hi Guys,

We have a couple of windows servers. We are monitoring services they are
running i.e. IMAP, POP, SMTP, PING. I want to monitor CPU, memory,
Disk-space and any other low level service. What is the best approach?

Should I install snmp on the windows servers or is there something else
that I can use.

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] nagiosweb

2008-03-03 Thread Giles Coochey
André,

 

I had no idea what you were talking about, but I typed nagiosweb into google 
and clicked I'm feeling lucky, the text on the resulting page read:

 

http://sourceforge.net/project/screenshots.php?group_id=78920 A PHP/MySQL 
based front-end for Nagios 2.x setup. Complete with the ability to add/remove 
hosts, hostgroups, contacts, contactgroups, services, timeperiods and commands.

 

Does that answer your question?

 

Thanks

 

Giles

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Moura
Sent: 03 March 2008 13:03
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] nagiosweb

 

By nagiosweb can I add hosts in a group, and then set some services to a 
particular host?

-- 
André O Moura
http://andrem.wordpress.com 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] (no subject)

2008-02-27 Thread Giles Coochey
Bhat,

 

Can we suggest that you try following the instructions found under
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 

And then return to us with a specific query as to any problem that you
may encounter?

 

Otherwise, your request is very vague and is more likened to a request
for Nagios consultancy, which you might find as a paid service on
Sourceforge or www.nagios.com http://www.nagios.com/ 

 

Best Regards,

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhat
nag
Sent: 27 February 2008 11:59
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] (no subject)

 

Dear All,

 

Can anyone help in confguting nrpe on HP-UX ver:B11.11

I am using the nagios version 3.0rc2

 

 

Thanks in advance

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] (no subject)

2008-02-27 Thread Giles Coochey
G,

 

When I installed NRPE recently I used the xinetd installation, whereas
it looks like you're utilising the nrpe in daemon mode.

 

Therefore I may not be of as much help here, but I would check things
such as SeLinux configuration (try putting it in warn mode and see
whether you still get this error) and iptables configuration on the box.

 

When I performed this test, I actually only did it from the Nagios
monitoring hosts (as that was indicative of my requirements), you might
want to check that test as well.

 

Thanks

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhat
nag
Sent: 27 February 2008 14:40
To: Hari Sekhon
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] (no subject)

 

Hi,

I tried with both the option using hostname as well as ip address.

 

Still I am getting the same error.

 

Regds

G Bhat

On Wed, Feb 27, 2008 at 6:16 PM, Hari Sekhon [EMAIL PROTECTED]
wrote:

Bhat nag wrote:
 After that I am used the command to check the nrpe, but I am
 getting the error as

 root @ isosrvr : /opt/nrpe/bin ./check_nrpe -H localhost -n
 CHECK_NRPE: Response packet had invalid CRC32.

I have found that you cannot use localhost when using nrpe, try the
hostname instead.

-h

--
Hari Sekhon

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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 Looking Glass 1.1.0 beta 1 released

2008-02-18 Thread Giles Coochey
Andy,

I thought I'd take a look at your project, as I have some interest in having 
some sort of dynamic portal which customers can query and I've seen your 
project surface time-and-time again on this list.

I've implemented the 'hack' to limit which hosts a particular user can see, but 
notice that they still see the Overall Network Health still shows the values 
for all hosts  services, rather than those in the currently selected filter.

It would be much better if the granularity for this tool followed the 'Nagios 
way' and used the contact group for all visibility. Unfortunately this is very 
important for our environment.

In terms of the license, what if I want to remove all references to Nagios 
Looking Glass, your name etc... from the portal interface? Is that going to be 
an issue? I'm not talking about removing any copyright or license information 
from the source files itself, just the customer facing side.

Thanks

Giles


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Shellam
Sent: 18 February 2008 13:06
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Looking Glass 1.1.0 beta 1 released

The Nagios Looking Glass is pleased to announce the availability of NLG 1.1.0 
beta 1.
This is the first release in the 1.1 series that makes NLG compatible with 
Nagios 3 (tested with Nagios 3.0rc2) while maintaining compatibility with 
Nagios 2.x.

The major changes in this version against 1.0.6 are:
* Added configuration option to change the location of cached files client-side 
(http://tracker.networkmail.eu/task/337)
* Locking for cache files (http://tracker.networkmail.eu/task/336)
* comments.dat and downtime.dat no longer available (change these to status.dat 
in server/sync-files/s3_config.inc.php) (http://tracker.networkmail.eu/task/333)
* Allow override of default timezone (http://tracker.networkmail.eu/task/214)
* Ability to disable client-side caching 
(http://tracker.networkmail.eu/task/126)
The new release can be downloaded from www.nagioslookingglass.co.uk/downloads.

Regards,

Andy Shellam
Lead Developer

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Question about the time stamp on the log file.

2008-02-13 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Luis Fernando Lacayo
 Sent: 13 February 2008 16:23
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Question about the time stamp on the log file.
 
 Good Morning (relative) everyone.
 
 I have a question about the time stamp on the nagios log file.
 
  nagios.log:[1202902952] SERVICE NOTIFICATION
 
 Can some on explain to me how to convert the time stamp to a real
time?
 
http://www.nagios.org/faqs/viewfaq.php?faq_id=70


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Check Hsrp

2008-02-06 Thread Giles Coochey
I do the following for HSRP:

 

define command{

command_namecheck-hsrp

command_line$USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C
$ARG1$ -o SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.$ARG2$ -s
'IpAddress: $ARG3$'

}

 

$ARG1$ is community

$ARG2$ is the appropriate OID suffix for the interface

$ARG3$ is normally active IP

 

I have not used check_ifoperstatus before, though it looks interesting.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Duraisw
Sent: 05 February 2008 18:56
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check Hsrp

 

Hello All,
I am trying to check hsrp on 6509 with the following, and I am running
into problems. Please let me know what I am doing wrong here.

[EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
--hsrpgrp 10Usage:
  check_ifoperstatus.pl -H HOSTNAME [-C community] -k ifIndex
  check_ifoperstatus.pl [-h | --help]
  check_ifoperstatus.pl [-V | --version]

Thanks for your help,

-john



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] using check_ospf plugin

2008-02-04 Thread Giles Coochey
This works fine for me:

define command{
command_namecheck_ospf
command_line$USER1$/check_ospf -H $HOSTADDRESS$ -C
snmp-community
}

Generally, running the plugin as the Nagios user, or using the -h
parameter to show the help page will explain the usage of each plugin.


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 01 February 2008 20:21
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] using check_ospf plugin

Hi Everyone,

Anyone have any exprience using the check_ospf plugin.

I will like to monitor ospf status on 5 routers and was wondering how I
can do that?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Internet Connectivity Monitoring

2008-01-25 Thread Giles Coochey
Hi List,

As part of our Internet Connectivity monitoring I monitor a set of
websites on the Internet from a diverse number of locations
geographically.

There are some issues with this:

(a) I have to avoid sites that use Content Delivery Systems such as
Akamai, because as we host such boxes ourselves the websites actually
load from local servers which we host rather than the intended
geographic location. Most large sites such as www.yahoo.com and
www.google.com use these content delivery systems.
(b) I have to avoid small sites which often go down due to lack of
redundancy in their implementation.
(c) I have to avoid sites which might get pretty annoyed that I'm
pulling their homepage once every 10-15 minutes just to see if I'm
getting good access.

I would like to hear from others on the list as to what they do to check
Internet Connectivity and whether they do any smart stuff to include
multiple connectivity checks as a single service check.

What do you do?

Thanks

Giles

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] nagvis error nagvis

2008-01-25 Thread Giles Coochey
 
  I have fixed the problem. I had to enable check_external_command=1
in
  nagios.cfg. After that, everything worked.
 
 I'd say that's a bizarre and non-obvious resolution. I don't
understand
 how the error you posted would be related. Interesting...
 

Indeed it is, thankfully it's in the NagVis FAQ! :-)

The MySQL error he got from NDO is common to quite a few installations,
and doesn't appear to affect NDO's operation. So, a red herring.

The explanation on the Nagvis page is as follows:

The NDO Backend checks the database if Nagios reports itself as running
by getting the field is_currently_running from prefix_programstatus
table. Seems there is something wrong with your NDO setup. In some
Nagios/NDO installations is a bug whit updating the
prefix_programstatus table. 

The FAQ continues to say that the programstatus table is only updated if
check_external_commands is set to 1.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Internet Connectivity Monitoring

2008-01-25 Thread Giles Coochey
Hi Alex,

 

Unfortunately most of our upstreams implement CPP (Control Plane
Policing) to prevent DDoS attacks, which essentially means that given a
certain threshold of ICMP messages the routers begin to drop those
packets purposefully to avoid flooding the routers control plane. I do
monitor those, but have notifications turned off because of the false
positives.

 

The other problem is that one of the scenarios I see once in a while is
one of our upstreams may withdraw all their BGP routes and while BGP
converges we may see momentary loss to certain sites. We use BGP
communities to define which provider we use for different geographic
locations, so having geographic monitors is quite important for us
(unfortunately, not important enough to host our own servers in those
geographic locations, nor to use a performance monitoring service such
as Keynote for the same).

 

Even worse, thankfully only happened just once, one of our upstreams
encountered an issue where they lost connectivity, but didn't withdraw
their BGP routes from our tables. (Ouch!).

 

Cheers,

 

Giles

 



From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 25 January 2008 11:12
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Internet Connectivity Monitoring

 

We monitor our upstream provider core routers. Basically, we monitor
every physical device between us and them. So, if any device goes down,
we can tell where the problem is originating from.

 

Secondly, if you have a co-located server outside your network, you can
monitor that as well.

 

Alex

On Jan 25, 2008 8:54 AM, Giles Coochey  [EMAIL PROTECTED] wrote:

Hi List,

As part of our Internet Connectivity monitoring I monitor a set of 
websites on the Internet from a diverse number of locations
geographically.

There are some issues with this:

(a) I have to avoid sites that use Content Delivery Systems such as
Akamai, because as we host such boxes ourselves the websites actually 
load from local servers which we host rather than the intended
geographic location. Most large sites such as www.yahoo.com and
www.google.com use these content delivery systems.
(b) I have to avoid small sites which often go down due to lack of
redundancy in their implementation.
(c) I have to avoid sites which might get pretty annoyed that I'm 
pulling their homepage once every 10-15 minutes just to see if I'm
getting good access.

I would like to hear from others on the list as to what they do to check
Internet Connectivity and whether they do any smart stuff to include 
multiple connectivity checks as a single service check.

What do you do?

Thanks

Giles


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___ 
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




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Internet Connectivity Monitoring

2008-01-25 Thread Giles Coochey
 
 On Jan 25, 2008, at 2:54 AM, Giles Coochey wrote:
 
  Hi List,
 
  As part of our Internet Connectivity monitoring I monitor a set of
  websites on the Internet from a diverse number of locations
  geographically.
 
  (c) I have to avoid sites which might get pretty annoyed that I'm
  pulling their homepage once every 10-15 minutes just to see if I'm
  getting good access.
 
 This is just generally bad behavior. Statement (c) tells me you
 already know this.
 

Yes, I have reservations about that; though, thankfully some of our
customers are grateful that we proactively monitor their websites 
their remote VPN endpoints. Unfortunately that doesn't have the
geographical footprint I would like. It would be nice for there to exist
a xx.ping-me.net service... so one could uk.ping-me.net, br.ping-me.net,
sg.ping-me.net, it could even be a paid service if firewalled to just
subscribing IPs.

  What do you do?
 
 - verify interface status via SNMP

This won't work with our specific setup, there is some transparent
equipment between our layer-3 equipment and the upstreams, but would be
handled by SNMP TRAP emissions from our equipment anyway.

 - ping all our local internet connected interfaces (redundant to the
 above)
 - verify all our BGP sessions are up and with the proper peers.

I do already do this, with a check BGP plugin, it's good, but doesn't
cover every type of problem and I would like to see a plugin that checks
the number of routes that have been received from each peer,
unfortunately I don't think that's supported via SNMP for our Cisco kit
(It does exist for Juniper though) and I'm against doing any check by
ssh because of the time it takes for such checks to complete.

 - where permitted/possible, ping the remote connected interface

Yes, we do that, though Control Plane Policing gets in the way for most
of our peers. It doesn't provide the End-to-End test I'm trying to find
though.

 - Pay for a colocated/hosted box outside of our network that we can
 monitor to/from. This is useful not only for monitoring but general
 troubleshooting of our and other networks from the outside.
 

I would really like this, especially as some remote hosting is pretty
cheap, and the bandwidth requirements are pretty low. Perhaps we need to
cost what this would amount to and make an internal proposal.

 - we don't use it but check_cluster(2) could be used to verify that
 all of several internet connections are up and notify appropriately.
 

Thanks - I will certainly check that one out.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 and ISASERVER

2008-01-25 Thread Giles Coochey
 Me no hablo espanol...
 
 Maybe you could try and ask in english. Then more people will be able to
 understand you.
 

Hi, they're trying to get events from their Microsoft ISA Server and they're 
getting the error shown. They've opened the port and set up the rules for both 
incoming and outgoing packets. They also added the system as an authorised 
manager of the ISA Server. But they still get the error.

This appears to be a NSClient++ issue from the GIF they embedded in the email.

I would like to know whether they can netcat or telnet to whatever port 
NSClient++ is configured to use to confirm that the Firewall on the ISA Server 
really is correctly configured.
I'd also like to know whether NSClient++ really is running on the ISA Server 
system.
As it's a firewall the best way to troubleshoot this would be to run packet 
captures on both systems (Nagios and ISA) and confirm whether filtering is 
hampering the monitoring of the server.

Thanks

Giles

 Regards,
 
 Sander
 
 CARVAJAL M, Héctor E. / FMO 3093 wrote:
Buenos días, estamos tratando de tomar los eventos de nuestro
  servidor ISASERVER y nos dá este error. En el servidor ya abrimos el
  puerto y creamos las reglas de entrada y salida. También agregamos la
  máquina como estación autorizada para la administración del ISA y sin
  embargo nos sigue dando error.
 
 Agradecido de sus comentarios al respecto.
 
  Hector Carvajal
  Analista de seguridad de Infraestructura
 
  *Host **Sort by host name (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=1*Sort
  by host name (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=1**
 
 
 
  *Service **Sort by service name (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=2*Sort
  by service name (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=2**
 
 
 
  *Status **Sort by service status (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=3*Sort
  by service status (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=3**
 
 
 
  *Last Check **Sort by last check time (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=4*Sort
  by last check time (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=4**
 
 
 
  *Duration **Sort by state duration (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=6*Sort
  by state duration time (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=6**
 
 
 
  *Attempt **Sort by current attempt (ascending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=1sortoption=5*Sort
  by current attempt (descending)*
  http://170.100.150.38/nagios/cgi-
 bin/status.cgi?host=allhoststatustypes=4sorttype=2sortoption=5**
 
 
 
  *Status Information*
 
  Servidor_ISASERVER
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=1host=Servidor_ISASERVER
 
 
 
 
 
 
  C:\ Drive Space
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=2host=Servidor_ISASERVERservice=C%3A%5C%20Drive%20S
 pace
 
 
 
 
 
 
  CRITICAL
 
 
 
  01-21-2008 15:44:33
 
 
 
  0d 16h 3m 44s
 
 
 
  1/3
 
 
 
  CRITICAL - Socket timeout after 10 seconds
 
 
 
 
  CPU Load
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=2host=Servidor_ISASERVERservice=CPU%20Load
 
 
 
 
 
 
  CRITICAL
 
 
 
  01-21-2008 15:47:49
 
 
 
  0d 16h 1m 29s
 
 
 
  1/3
 
 
 
  CRITICAL - Socket timeout after 10 seconds
 
 
 
 
  Memory Usage
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=2host=Servidor_ISASERVERservice=Memory%20Usage
 
 
 
 
 
 
  CRITICAL
 
 
 
  01-21-2008 15:50:04
 
 
 
  0d 15h 59m 13s
 
 
 
  1/3
 
 
 
  CRITICAL - Socket timeout after 10 seconds
 
 
 
 
  NSClient++ Version
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=2host=Servidor_ISASERVERservice=NSClient%2B%2B%20Ve
 rsion
 
 
 
 
 
 
  CRITICAL
 
 
 
  01-21-2008 15:52:20
 
 
 
  0d 16h 5m 57s
 
 
 
  1/3
 
 
 
  CRITICAL - Socket timeout after 10 seconds
 
 
 
 
  Uptime
  http://170.100.150.38/nagios/cgi-
 bin/extinfo.cgi?type=2host=Servidor_ISASERVERservice=Uptime
 
 
 
 
 
 
  CRITICAL
 
 
 
  01-21-2008 15:44:36
 
 
 
  0d 16h 3m 41s
 
 
 
  1/3
 
 
 
  CRITICAL - Socket timeout after 10 seconds
 
 
 
  El servidor esta agregado para ser monitoreado, pero no envía ningún
  traps de status por el bloqueo del puerto.
  
 
  
 -
  This SF.net 

Re: [Nagios-users] nagios plug-in for monitoring ospf on cisco

2008-01-25 Thread Giles Coochey
Yes,

Much out there, google is your friend :-)

http://www.google.com/search?hl=enq=check_ospf+nagios

Personally we use this one:

http://www.nagiosexchange.org/Networking.53.0.html?tx_netnagext_pi1[p_v
iew]=754tx_netnagext_pi1[page]=60%3A10



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 25 January 2008 13:34
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] nagios plug-in for monitoring ospf on cisco

Hi Guys,

Is there any plug-in for nagios to monitor ospf on cisco routers?

Regards,

-- 
Alex Dehaini 
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] nagvis error nagvis

2008-01-24 Thread Giles Coochey
http://www.nagvis.org/docs/general/often_reported_errors#nagiosnotrunning



From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 24 January 2008 15:34
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: nagvis error nagvis

I keep getting this error after installing nagvis

The installation went well but when I browse to the nagvis webpage I get this 
error

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)
NDO reports that Nagios is not running

When I check my logs, this is the error I get.


[EMAIL PROTECTED] etc]# tail /var/log/messages 
Jan 24 14:24:51 dev nagios: Event broker module 
'/usr/local/nagios/bin/ndomod.o' deinitialized successfully.  
Jan 24 14:24:51 dev ndo2db: Successfully disconnected from MySQL database
Jan 24 14:24:51 dev nagios: Nagios 2.9 starting... (PID=3113)
Jan 24 14:24:51 dev nagios: LOG VERSION: 2.0 
Jan 24 14:24:51 dev nagios: ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 
2005-2007 Ethan Galstad ([EMAIL PROTECTED])
Jan 24 14:24:51 dev ndo2db: Successfully connected to MySQL database 
Jan 24 14:24:51 dev nagios: ndomod: Successfully connected to data sink.  0 
queued items to flush.
Jan 24 14:24:51 dev nagios: Event broker module 
'/usr/local/nagios/bin/ndomod.o' initialized successfully.  
Jan 24 14:24:51 dev nagios: Finished daemonizing... (New PID=3116) 
Jan 24 14:24:51 dev ndo2db: Error: mysql_query() failed for 'INSERT INTO 
nagios_configfilevariables SET instance_id='1', configfile_id='4', 
varname='cfg_file', varvalue='/usr/local/nagios/etc/localhost\.cfg''  


Any idea on how I can fix this. I am running centos 5.0

On Nov 26, 2007 11:20 AM, Giles Coochey  [EMAIL PROTECTED] wrote:
If you post in plain text, it's much easier for me not to top post.
 
This is likely something to do with your socket file.
 
Check the socket file in ndo2db configuration file, mine is in:
 
/opt/nagios/var/ndo.sock
 
It is referenced in ndo2db.cfg with this line:
 
socket_name=/opt/nagios/var/ndo.sock
 
if socket exists, it may have been created with insufficient permissions, or 
the directory mask was bad, remove the file, check permissions and restart ndo.
 
Thanks
 
Giles
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Dehaini
Sent: 26 November 2007 12:10

To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Integrating nagvis
 
Here is the error I get from my logs

Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data 
sink.  0 items lost, 1655 queued items to flush.

When I browse to the nagvis home page, I get this error. 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result 
resource in 
/usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php
 on line 58

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) 

NDO reports that Nagios is not running

Any clue what is wrong?
On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli 
 Sent: 26 November 2007 11:58
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Integrating nagvis

 Hi,
 
 I used:

 nagios-3.0b6
 nagvis-1.2b2

 What's the problem with the backend? Which operating system?

I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2

Not any problems, I just followed the README's and posted minor issues
with descriptions as to the particular problems on the list to resolve
all my problems.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com 
Email - [EMAIL PROTECTED] 



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] nagvis error nagvis

2008-01-24 Thread Giles Coochey
Actually, I too get a similar error you yours, on starting NDO:

Jan 23 17:08:09 hostname ndo2db: Error: mysql_query() failed for 'INSERT INTO 
nagios_configfilevariables SET instance_id='1', configfile_id='1', 
varname='cfg_dir', varvalue='/opt/nagios/etc/cfg/hostgroup1''

And I have a working NagVis setup, so I am not sure whether that error is the 
actual cause of your problem.


From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 24 January 2008 15:43
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: Re: nagvis error nagvis

I have already done that and re-compiled nagios. The problem is how ndo2db is 
putting info into mysql, that is where the issue comes from.

Jan 24 14:33:04 dev ndo2db: Error: mysql_query() failed for 'INSERT INTO 
nagios_configfilevariables SET instance_id='1', configfile_id='7', 
varname='cfg_file', varvalue='/usr/local/nagios/etc/localhost\.cfg''  


On Jan 24, 2008 2:40 PM, Giles Coochey [EMAIL PROTECTED] wrote:
http://www.nagvis.org/docs/general/often_reported_errors#nagiosnotrunning


 
From: Alex Dehaini [mailto:[EMAIL PROTECTED]
Sent: 24 January 2008 15:34
To: Giles Coochey; nagios-users@lists.sourceforge.net 
Subject: nagvis error nagvis

I keep getting this error after installing nagvis

The installation went well but when I browse to the nagvis webpage I get this 
error

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1)
NDO reports that Nagios is not running

When I check my logs, this is the error I get.


[EMAIL PROTECTED] etc]# tail /var/log/messages
Jan 24 14:24:51 dev nagios: Event broker module 
'/usr/local/nagios/bin/ndomod.o' deinitialized successfully. 
Jan 24 14:24:51 dev ndo2db: Successfully disconnected from MySQL database
Jan 24 14:24:51 dev nagios: Nagios 2.9 starting... (PID=3113)
Jan 24 14:24:51 dev nagios: LOG VERSION: 2.0
Jan 24 14:24:51 dev nagios: ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 
2005-2007 Ethan Galstad ([EMAIL PROTECTED])
Jan 24 14:24:51 dev ndo2db: Successfully connected to MySQL database
Jan 24 14:24:51 dev nagios: ndomod: Successfully connected to data sink. 0 
queued items to flush. 
Jan 24 14:24:51 dev nagios: Event broker module 
'/usr/local/nagios/bin/ndomod.o' initialized successfully.
Jan 24 14:24:51 dev nagios: Finished daemonizing... (New PID=3116)
Jan 24 14:24:51 dev ndo2db: Error: mysql_query() failed for 'INSERT INTO 
nagios_configfilevariables SET instance_id='1', configfile_id='4', 
varname='cfg_file', varvalue='/usr/local/nagios/etc/localhost\.cfg'' 


Any idea on how I can fix this. I am running centos 5.0

On Nov 26, 2007 11:20 AM, Giles Coochey  [EMAIL PROTECTED] wrote:
If you post in plain text, it's much easier for me not to top post. 

This is likely something to do with your socket file.

Check the socket file in ndo2db configuration file, mine is in:

/opt/nagios/var/ndo.sock

It is referenced in ndo2db.cfg with this line:

socket_name=/opt/nagios/var/ndo.sock

if socket exists, it may have been created with insufficient permissions, or 
the directory mask was bad, remove the file, check permissions and restart ndo.

Thanks

Giles


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Alex Dehaini
Sent: 26 November 2007 12:10

To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Integrating nagvis 

Here is the error I get from my logs

Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to data 
sink. 0 items lost, 1655 queued items to flush.

When I browse to the nagvis home page, I get this error. 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result 
resource in 
/usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBackend-ndomy.php
 on line 58

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) 

NDO reports that Nagios is not running

Any clue what is wrong?
On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote:


 -Original Message- 
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli
 Sent: 26 November 2007 11:58
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Integrating nagvis 

 Hi,

 I used:

 nagios-3.0b6
 nagvis-1.2b2

 What's the problem with the backend? Which operating system?

I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2

Not any problems, I just followed the README's and posted minor issues
with descriptions as to the particular problems on the list to resolve
all my problems.

- 
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

Re: [Nagios-users] NDO Troubles

2008-01-23 Thread Giles Coochey
 
 you just delete the database and ndodaemon back to work ?
 

I have to run the db installation script that comes with ndoutils to
recreate the db schema.

 if you use postgresql? same problem ??

Is postgresql support actually working? I found conflicting information
as to whether it would work so I never tried it.
Have you tried the advice of someone else to give InnoDB loads of
memory? I would like to try that, but have no idea as to how to do it!
Perhaps someone can advise?

 (if i dont solve my problem with NDO tomorow my boss will abort nagios
 in the company.. :-( )
 

Tell him it's his loss if he takes that route :-). Note that ndoutils is
beta software and I don't believe much effort will be taken to resolve
this problem until Nagios v3 reaches stable, I have read comments that
Ethan is well aware of this problem, and it requires work to not have
ndo2db halt Nagios while it does its work.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Go to map button

2008-01-22 Thread Giles Coochey
Hi,

 

Under host commands there is a Locate host on map option, at least
there is with the nuvola style.

 

The URI is:

 

/nagios/cgi-bin/statusmap.cgi?host=hostnamelayout=1max_width=0max_hei
ght=0proximity_width=1000proximity_height=800layermode=exclude

 

Replace hostname with the name of the host.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 22 January 2008 12:10
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Go to map button

 

Hi Guys,

 

When a host is down or one of it's services are down. Where do I click
to go directly to the host on the status map page?

-- 
Alex Dehaini 
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Go to map button

2008-01-22 Thread Giles Coochey
Alex,

 

I am unsure why it is not there as an option for you. What version of
Nagios are you running? (it's there in my 2.9 installation).

 

Did you compile from source or install via RPM?

 

If / When you originally compiled did you have issues with the required
libraries for the statusmap? If so you may need to rebuild extinfo.cgi.

 

Thanks

 

Giles

 



From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2008 12:26
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Go to map button

 

Giles,

 

The Locate host on map option is not present under the Host command.
Is there a way I can enable it?

 

Alex

On Jan 22, 2008 11:19 AM, Giles Coochey [EMAIL PROTECTED] wrote:

Hi,

 

Under host commands there is a Locate host on map option, at least
there is with the nuvola style.

 

The URI is:

 

/nagios/cgi-bin/statusmap.cgi?host=hostnamelayout=1max_width=0max_hei
ght=0proximity_width=1000proximity_height=800layermode=exclude 

 

Replace hostname with the name of the host.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 22 January 2008 12:10
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Go to map button

 

Hi Guys,

 

When a host is down or one of it's services are down. Where do I click
to go directly to the host on the status map page?

-- 
Alex Dehaini 
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Go to map button

2008-01-22 Thread Giles Coochey
Alex,

 

I am not sure, but, why not rename the extinfo.cgi file in your SOURCE
tree and re-run 'make' to recompile the file from the source
(extinfo.c).

 

I'm assuming you still have the source and not done a 'make clean',
'make distclean' etc... all of which is probably beyond the scope of the
Nagios list.

 

Thanks

 

Giles

 



From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2008 12:44
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Go to map button

 

Giles.

 

I migrated to a new installation. I was running 2.9 and it was there. I
upgraded to 2.10 and I can't see it anymore.

 

I compiled by source. Initially I had issue with my gd library, I
installed gd and recompiled. The status map is working alright but I
can't get the Locate host on map button

 

How do I rebuild extinfo.cgi?

 

Alex

On Jan 22, 2008 11:39 AM, Giles Coochey [EMAIL PROTECTED]  wrote:

Alex,

 

I am unsure why it is not there as an option for you. What version of
Nagios are you running? (it's there in my 2.9 installation).

 

Did you compile from source or install via RPM?

 

If / When you originally compiled did you have issues with the required
libraries for the statusmap? If so you may need to rebuild extinfo.cgi.

 

Thanks

 

Giles

 



From: Alex Dehaini [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2008 12:26
To: Giles Coochey; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Go to map button

 

Giles,

 

The Locate host on map option is not present under the Host command.
Is there a way I can enable it?

 

Alex

On Jan 22, 2008 11:19 AM, Giles Coochey [EMAIL PROTECTED] wrote:

Hi,

 

Under host commands there is a Locate host on map option, at least
there is with the nuvola style.

 

The URI is:

 

/nagios/cgi-bin/statusmap.cgi?host=hostnamelayout=1max_width=0max_hei
ght=0proximity_width=1000proximity_height=800layermode=exclude 

 

Replace hostname with the name of the host.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 22 January 2008 12:10
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Go to map button

 

Hi Guys,

 

When a host is down or one of it's services are down. Where do I click
to go directly to the host on the status map page?

-- 
Alex Dehaini 
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] NDO Troubles

2008-01-21 Thread Giles Coochey
 
 List,
 
 
 Today our NDOUtils broker...broke. I'm not entirely sure what
happened,
 but I can tell you what is going on and what I've done...
 Nagios 2.10, 1.4.10 plugs on Ubuntu 7.10
 
 This has been fine for about 3 months now.
 
 Today however, we started seeing some issues with the daemon. In the
 event log of the nagios web interface it shows successful connections,
 as does the nagios/mysql logs. Only problem is that in the Nagvis
 interface it is showing that NDO is reporting Nagios as closed, or no
 updates in more that 100 seconds. I'm leaning more towards a broken
 Nagvis at the moment. I am the only person touching the Nagios box and
 nothing has changed. I did try to add Bacula to this box, but have
since
 removed all relative packages that I installed. Has anyone
 seen/experienced a similar issue with NDO? It's really frustrating, as
 we have an IT auditor here today, and this is a big part of our audit
 this year!!!
 

I get this problem about once a week.

In order to resolve it, I stop Nagios, stop NDO, restart mysql, drop the
Nagios database, recreate the Nagios database, start Nagios and start
NDO.

Once done everything works again. If I don't restart mysql I cannot drop
the Nagios database within the mysql client and sometimes I need to
expressly kill (-9) both Nagios and Mysql.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring

2008-01-18 Thread Giles Coochey
 
 There's no auto discovery in Nagios.
 

This is indeed the case, while at first it may seem as a major drawback
to the software, given time, you will realise that it's one of its best
features.

The effort you place into making Nagios work for you is the reason for
its value. If you look at other products with 'autodiscovery' features
you will often find that they discover useless hosts and services which
have no real impact in your overall service delivery.

By making you hand-tune your monitoring Nagios ensures that you only
monitor and alarm on what really matters.

Just my gem for a Friday.

Giles

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] ndoutil question

2008-01-18 Thread Giles Coochey
It may help to provide some information:

 

grep db_ ndo2db.cfg ??

 

Can you confirm the database is running?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 16:26
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] ndoutil question

 

Guys,

 

Any other ideas on this. This is the output I get when I try to start
NDO

 

snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg


Support for the specified database server is either not yet supported,
or was not found on your system.

 

 

On Jan 18, 2008 1:54 PM, Alex Dehaini  [EMAIL PROTECTED] wrote:

H

 

Could it be a debian problem then? 

 

 

On Jan 18, 2008 1:53 PM, Giles Coochey  [EMAIL PROTECTED] wrote:

While not answering your question I have Centos with mysql 5.0.22
running ndoutils just fine.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 14:51
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] ndoutil question

 

Hi Everyone,

 

I installed ndoutil 1.4.7b on my centos server running mysql version
4.1.2. I am trying the same installation on my debain etch 3.1 with
mysql 5.0.32 and this is the message I get when I try to start ndo 

 

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 

Support for the specified database server is either not yet supported,
or was not found on your system.

 

I have installed the mysql libraries. Does this mean that ndoutil can't
install on mysql 5.0.32?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] ndoutil question

2008-01-18 Thread Giles Coochey
While not answering your question I have Centos with mysql 5.0.22
running ndoutils just fine.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 14:51
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] ndoutil question

 

Hi Everyone,

 

I installed ndoutil 1.4.7b on my centos server running mysql version
4.1.2. I am trying the same installation on my debain etch 3.1 with
mysql 5.0.32 and this is the message I get when I try to start ndo 

 

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 

Support for the specified database server is either not yet supported,
or was not found on your system.

 

I have installed the mysql libraries. Does this mean that ndoutil can't
install on mysql 5.0.32?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Nagvis without DB

2008-01-15 Thread Giles Coochey
As far as I am aware, NagVis requires the data in a database, via NDO
and there is no easy way to bypass this requirement.

 

It causes some pain for me too, I 'need' the 'nice' visuals that NagVis
produces, but the instability of NDO is a real pain.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leandro
Silva
Sent: 15 January 2008 16:23
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagvis without DB

 

Anyone knows a way to use nagvis without a database using only the files
of nagios where store the status of the host and services?

 

Leandro

Brazil

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server

2008-01-07 Thread Giles Coochey
Have you checked the FAQ:
http://www.nagios.org/faqs/viewfaq.php?faq_id=119



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of riky.none
 Sent: 07 January 2008 13:59
 To: Nagios Users Mailinglist
 Subject: [Nagios-users] The requested URL
/nagios/cgi-bin/statusmap.cgi
 was not found on this server
 
 hi i install nagios 3 in ubuntu 710 server WITH libg2 (apt-get install
 libg2-dev)
 i read information :Get Nagios 3.0 up and running in 15 minutes flat!
 No baloney. Read the quickstart.
 http://nagios.sourceforge.net/docs/3_0/quickstart.html 
 but i not display  the STATUSMAP
 grazie
 
 
 


-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server

2008-01-07 Thread Giles Coochey
 
  /nagios/cgi-bin/statusmap.cgi
 
  was not found on this server
 
  hi i install nagios 3 in ubuntu 710 server WITH libg2 (apt-get
install
  libg2-dev)
  i read information :Get Nagios 3.0 up and running in 15 minutes
flat!
  No baloney. Read the quickstart.
  http://nagios.sourceforge.net/docs/3_0/quickstart.html 
  but i not display  the STATUSMAP
  grazie
 
 
 
 ldd /usr/local/nagios/sbin/status.cgi
  linux-gate.so.1 =  (0xe000)
  libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e58000)
  /lib/ld-linux.so.2 (0xb7fa8000)
 
 is ok ?

The cgi in question is statusmap.cgi

Example output:

[EMAIL PROTECTED] sbin]# ldd statusmap.cgi
linux-gate.so.1 =  (0x008b5000)
libgd.so.2 = /usr/lib/libgd.so.2 (0x0011)
libpng12.so.0 = /usr/lib/libpng12.so.0 (0x007ae000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x0732d000)
libz.so.1 = /usr/lib/libz.so.1 (0x00a53000)
libm.so.6 = /lib/libm.so.6 (0x009a5000)
libc.so.6 = /lib/libc.so.6 (0x00162000)
libXpm.so.4 = /usr/lib/libXpm.so.4 (0x006a1000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x00ced000)
libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0x007fd000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x00bfa000)
/lib/ld-linux.so.2 (0x0083e000)
libXau.so.6 = /usr/lib/libXau.so.6 (0x009e7000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0x009ec000)
libdl.so.2 = /lib/libdl.so.2 (0x0099f000)
libexpat.so.0 = /lib/libexpat.so.0 (0x00bd7000)

Your ./configure output when compiling Nagios might be more helpful. If
statusmap.cgi is not generated then it's likely that you are missing one
of the required libraries.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Monitoring using MIBs

2007-12-18 Thread Giles Coochey
 Can anyone help me ?
 
 I'd like to monitor a specific proxy service (Blue Coat) and I don't
know
 if Nagios works with different mibs.
 Anybody knows a good tip about that ?
 

My Tip #1: I recommend using numerical OIDs with check_snmp. That way
you don't have to have the MIB loaded anywhere.
My Tip #2: Use a MIB browser such as iReasonings offering to identify
useful monitorable OIDs
My Tip #3: snmpwalk is your friend




-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Monitoring using MIBs

2007-12-18 Thread Giles Coochey



From: Hugo Rebello [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2007 12:33
To: Giles Coochey
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring using MIBs

Could you send me an example of snmpwalk command ?

Thank you.

Hugo

Try this link:

http://www.google.com/search?hl=enq=snmpwalk+example
 

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] How to disable check-host-alive

2007-12-10 Thread Giles Coochey
  You could try sending a passive check result to put it back into an
  OK state.
 
 Mmmm... I've read the Nagios documentation about passive check but yet
I
 do not know very clearly how to use it to put the status back into an
OK
 state. What is your suggestion?
 

Submitting a passive check result can be done via the Web Interface
(among other ways) so you just need to login to Nagios, select the host
in question and use the Submit passive check result for this host
command option from the list of Host Commands.

You need to provide some Check Output, the performance data is optional.

Nagios will process this check result and the host should return to the
state that you select.

Thanks

Giles

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Differentiate between monitoring modem Vs router

2007-12-10 Thread Giles Coochey
 Hello Everyone,
 
 Is anyone out there in NAGIOS land monitoring UPSes? If so what is the
 best way of monitoring them? Can you share your Checkcommand to do
this?
 
 thanks,
 
 Luis
 

It's never a good idea to hijack someone else's thread for a completely
unrelated post, more so if you don't change the subject line of the
message.

There is a plugin for APC UPSs on the Nagios Exchange site.

Most other UPSs have browsable SNMP agents which ought to suit your
needs with the check_snmp plugin.

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] monitoring UPS

2007-12-10 Thread Giles Coochey
 Hi Everyone,
 
 I was wondering if there is anyone out there in NAGIOS land that can
 help me with an snmp issue that I have.
 
 I have to monitor 5 UPSes for our VOIP system.
 
 I want to monitor the following:
 
 when the UPS starts using the battery
 the battery charge Status, and report when it has less than 10% of the
 battery charge.
 
 I have the document with the MIBS, but I can not make sense ot tails
out
 of it.
 
 Any help will be appreciated.
 

It might help if you specify the model and/or manufacturer of your UPS?

APC:
http://www.nagiosexchange.org/SNMP.51.0.html?tx_netnagext_pi1[p_view]=5
17
http://www.nagiosexchange.org/SNMP.51.0.html?tx_netnagext_pi1[p_view]=2
61

Chloride UPS:
http://www.nagiosexchange.org/Misc.54.0.html?tx_netnagext_pi1[p_view]=9
37

SOCOMEC UPS:
http://www.nagiosexchange.org/SNMP.51.0.html?tx_netnagext_pi1[p_view]=1
144

Liebert NPOWER UPS:
http://www.nagiosexchange.org/Environmental.60.0.html?tx_netnagext_pi1[
p_view]=638

If you have the MIB something like iReasoning's MIB browser and a SNMP
walk will help you immensely.

Thanks

Giles

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Missing Server.cfg file

2007-12-04 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of David Francis
 Sent: 04 December 2007 12:32
 To: Nagios Users Mailinglist
 Subject: [Nagios-users] Missing Server.cfg file
 
 Greetings all
 
 I don't know what changed but I've noticed that I don't have a
 server.cfg file , and recieve the following error trying to start
Nagios
 
 
 
 Reading configuration data...
 
 Error: Could not open config directory '/usr/local/nagios/etc/servers'
 for reading.
 
 *** One or more problems was encountered while processing the config
 files...
 
  Check your configuration file(s) to ensure that they contain
valid
  directives and data defintions.  If you are upgrading from a
previous
  version of Nagios, you should be aware that some
 variables/definitions
  may have been removed or modified in this version.  Make sure to
read
  the HTML documentation regarding the config files, as well as the
  'Whats New' section to find out what has changed.
 
 
 Is it possible to get this file from somewhere or do I have to go
 through the whole process of install Nagios again (hopefully not)
 

Hi David,

You will need to write the file, that is the method of configuring
Nagios.

You may start by editing the appropriate Nagios.cfg file and tweaking a
small configuration first.

From the error it looks like it's looking for a servers directory rather
than a fiel though.

Hope this helps.

Giles

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] How to disable check-host-alive

2007-12-03 Thread Giles Coochey
 I try adding 'retain_status_information 0' in host definition for
Nagios
 server. Now, its host status is 'pending' instead of 'down'. But the
 default host initial state shouldn't be 'up'?
 

You could try sending a passive check result to put it back into an OK
state.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] CGI Tactical Screen Filters

2007-12-03 Thread Giles Coochey
Hi,

I am using some CGI filters in a Custom URL for our NOC.

The URL I am using is:

status.cgi?host=allservicestatustypes=28serviceprops=42hostprops=10t
ype=detail

The service propers and host props filter out alerts for services and
hosts in scheduled downtime and/or acknowledged.

These are defined in include/cgiutils.h

Although I don't see alerts for services of hosts that I have put in
scheduled downtime and or acknowledged, I do hear audible alerts for
these.

Is this a bug? Or is there an option I can use to disable the audible
alerts.

Thanks

Giles

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Hostextinfo.cfg configuration problems

2007-11-30 Thread Giles Coochey

Error: Could not add duplicate hostextinfo entry for host 'americano'.

Start with the first error.
Duplicate hostextinfo information for host Americano...

Do a grep (type 'man grep' for the manual page on how to use it) for the
Americano host and check that you have not defined this in multiple
locations.

Once you've resolved this, rerun the pre-flight check and proceed on to
the next problem, if any.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Hostextinfo.cfg configuration problems

2007-11-30 Thread Giles Coochey
Error: Could not allocate memory for hostextinfo list to add extended
info for host 'americano'.
Error: Could not register extended host information (config file
'/usr/local/nagios/etc/servers/hostextinfo.cfg', starting on line 6)


Also, for your other errors, you may want to check that you are not
parsing multiple configuration files, by having conflicting cfg_file 
cfg_dir directives in Nagios.cfg.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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 and IM notification

2007-11-30 Thread Giles Coochey
Have either of you had any luck with centerim?

I have centerim running as the Nagios user, and if I run the centerim on
the command line then I am able to send messages, but for some obscure
reason I cannot get the command to work within Nagios, this is my
command:

# 'notify-by-jabber' command definition
define command{
command_namenotify-by-jabber
command_line/usr/bin/printf %b Service: $SERVICEDESC$ -
Host: $HOSTNAME$ - Address: $HOSTADDRESS$ - State: $SERVICESTATE$ -
Info: $SERVICEOUTP
UT$ - Date: $LONGDATETIME$ | /usr/local/bin/centerim -s msg -p jab -t
$CONTACTPAGER$
}

I've tried both printf and echo, but centerim never seems to get the
results. I am unsure how centerim does its IPC?



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 26 October 2007 13:04
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios and IM notification

In that case I will give it a spin. Are there instructions on how to
integrate it with nagios?


On 10/26/07, Sebastian Ries  [EMAIL PROTECTED] wrote:
Hi

Am Freitag, den 26.10.2007, 10:41 + schrieb Alex Dehaini: 
 Can it send service and host notification to yahoo IM?

As centerim can connect to the yahoo network, yes


 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] snmptraphandling.py

2007-11-29 Thread Giles Coochey
Is anyone using Francois Meehan's snmptraphandling.py script?

There's a part of the script where it opens the Nagios.cmd file. I'm not
a python coder, but it appears to me that it writes to the file with 'w'
which would overwrite any pending commands that Nagios has not yet
processed:

#print mondata_res
output = open('/opt/nagios/var/rw/nagios.cmd', 'w')
results = [ + mytime + ]  + PROCESS_SERVICE_CHECK_RESULT;
\
  + host + ; + TRAP- + service_suffix + ; \
  + return_code + ; + mondata_res + \n
output.write(results)

I'm thinking that this script should be opening the file with the 'a'
(Append) mode, so that unprocessed commands in nagios.cmd do not get
overwritten.

I do appear to be missing some traps within Nagios, I can see them as
far as snmptt, but it seems either sec.pl or snmptraphandling.py somehow
doesn't process them and the trap doesn't make it as far as Nagios.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] snmptraphandling.py

2007-11-29 Thread Giles Coochey
 On 29 Nov 2007, at 08:53, Giles Coochey wrote:
 
  Is anyone using Francois Meehan's snmptraphandling.py script?
 
  There's a part of the script where it opens the Nagios.cmd file.
  I'm not
  a python coder, but it appears to me that it writes to the file
  with 'w'
  which would overwrite any pending commands that Nagios has not yet
  processed:
 
 
 nagios.cmd is a pipe, not an ordinary file and the contents cannot be
 overwritten as such - whatever gets written into the pipe will be
 read out of the pipe by the controlling binary in the same order.
 
 If you cat the pipe then the contents will be lost to nagios, as when
 items are read from the pipe they are automatically removed from it.
 
 Pipes have the first letter as a 'p' on 'ls -l'.
 

Thanks Duncan, so it's a FIFO. So now I need to find out why I'm losing
events along the way :-(

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] notification by mail not working

2007-11-28 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Pablo Escobar
 Sent: 27 November 2007 20:12
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] notification by mail not working
 
 hi all
 
 I´m really desesperate because I dont know which other config file I
 should
 look.
 

Logfile excerpts will help, though you can probably check yourself.

Does the Nagios logfile say that a notification has been sent?
Does your MTA logfile say that it has received the message? And what does it 
say that it has done with the message?

What happens if you run the notification command that is actually defined for 
your notifications? For me this is in commands.cfg

Thanks

Giles

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Environmental monitoring

2007-11-28 Thread Giles Coochey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Kevin Scott Sumner
 Sent: 28 November 2007 15:49
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Environmental monitoring
 
 This is somewhat off-topic, but can anyone recommend a vendor for
 environmental?  I would like to monitor the temp. and humidity of our
two
 server rooms.  Integration with Nagios is a huge plus.
 

Have used the EM1 from Sensatronics before, works fine with Nagios.

Netbotz (now APC) work great too.

Both are SNMP enabled and have Nagios plugins for their monitoring (plus
their own standalone alerting mechanisms).

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Not getting alerts through email.

2007-11-27 Thread Giles Coochey
 define contactgroup{
 contactgroup_name   esadmins
 alias   Nagios Administrators
 members nagiosadmin,biju
 }

Do you have any hosts/services which are associated with this contact
group?

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Not getting alerts through email.

2007-11-27 Thread Giles Coochey


 -Original Message-
 From: Biju Augustine [mailto:[EMAIL PROTECTED]
 Sent: 27 November 2007 11:43
 To: Giles Coochey
 Subject: Re: [Nagios-users] Not getting alerts through email.
 
 I dont have
 
 (vi /etc/hosts
 IP address biju.essentia.com)


You will not receive alerts unless you specify the appropriate contact
group for a service or host.
You can modify your base templates to include the esadmins contactgroup
for a group of hosts based on those templates.

Always best to reply to list, it makes my outlook rules correctly file
your message in the right folder, and it serves as completeness for
those who might be following the conversation and also will help future
users help themselves by searching the mailing list archives (thus
saving future mailing list bandwidth).
 
 
 
 On Nov 27, 2007 4:02 PM, Giles Coochey [EMAIL PROTECTED] wrote:
   define contactgroup{
   contactgroup_name   esadmins
   alias   Nagios Administrators
   members nagiosadmin,biju
   }
 
  Do you have any hosts/services which are associated with this
contact
  group?
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Integrating nagvis

2007-11-26 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli
 Sent: 26 November 2007 11:58
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Integrating nagvis
 
 Hi,
 
 I used:
 
 nagios-3.0b6
 nagvis-1.2b2
 
 What's the problem with the backend? Which operating system?
 

I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2

Not any problems, I just followed the README's and posted minor issues
with descriptions as to the particular problems on the list to resolve
all my problems.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Integrating nagvis

2007-11-26 Thread Giles Coochey
If you post in plain text, it's much easier for me not to top post.

 

This is likely something to do with your socket file.

 

Check the socket file in ndo2db configuration file, mine is in:

 

/opt/nagios/var/ndo.sock

 

It is referenced in ndo2db.cfg with this line:

 

socket_name=/opt/nagios/var/ndo.sock

 

if socket exists, it may have been created with insufficient
permissions, or the directory mask was bad, remove the file, check
permissions and restart ndo.

 

Thanks

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 26 November 2007 12:10
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Integrating nagvis

 

Here is the error I get from my logs

Nov 26 11:00:01 development nagios: ndomod: Still unable to connect to
data sink.  0 items lost, 1655 queued items to flush.

When I browse to the nagvis home page, I get this error. 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in
/usr/local/nagios/share/nagvis/nagvis/includes/classes/class.GlobalBacke
nd-ndomy.php on line 58

nagiosNotRunning: NDOMy: Nagios not running (Backend ndomy_1) 

NDO reports that Nagios is not running

Any clue what is wrong?

On Nov 26, 2007 11:01 AM, Giles Coochey [EMAIL PROTECTED] wrote: 



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Giorgio Zarrelli 
 Sent: 26 November 2007 11:58
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Integrating nagvis

 Hi,
 
 I used:

 nagios-3.0b6
 nagvis-1.2b2

 What's the problem with the backend? Which operating system?


I'm using Nagios 2.9, NdoUtils 1.4.7b7 and NagVis 1.1.2

Not any problems, I just followed the README's and posted minor issues
with descriptions as to the particular problems on the list to resolve
all my problems.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com 
Email - [EMAIL PROTECTED] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] [Nagiosplug-help] jabber notification

2007-11-26 Thread Giles Coochey

Below

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Giles Coochey
Sent: 19 November 2007 13:02
To: nagiosplug
Subject: [Nagiosplug-help] jabber notification

Hi All,

I have seen the notify_by_jabber perl script.

Because of the number of notifications that I get through some passive
volatile service checks I was wondering whether anyone has seen one that
was compiled in C rather than perl, as Nagios seems to take quite a
while running the notification script when I get a flood of events - I'm
thinking that a C program might be faster.

Are there any jabber alternatives to the perl script?

If there isn't one then I'll look at using sec.pl to handle these
passive checks (they're SNMP traps, after all) and only produce a single
alert (so far they've been routing topology change notifications from
multiple routers  switches in our infrastructure).

Best Regards,

Giles



##

I've tried replacing the notify_via_jabber.pl perl script with centerim.
It essentially allows to run centerim in the background (as the Nagios)
user, and allows me to, as the Nagios user, send jabber alerts via the
command line.

A small issue is that as soon as I modify my commands.cfg to have a
notification I find it does not work, and cannot seem to talk to the
centerim process (centerim is running as the Nagios user).

This is what works from the command line:

echo Host '$HOSTALIAS$' is $HOSTSTATE$ - Info: $HOSTOUTPUT$ - Time:
$LONGDATETIME$ | /usr/local/bin/centerim -s msg -p jab -t
[EMAIL PROTECTED]

This is what doesn't work from the commands.cfg file:

# 'notify-by-jabber' command definition
define command{
command_namenotify-by-jabber
command_line/bin/echo Service: $SERVICEDESC$ - Host:
$HOSTNAME$ - Address: $HOSTADDRESS$ - State: $SERVICESTATE$ - Info:
$SERVICEOUTPUT$ - Date: $LONGDATETIME$ | /usr/local/bin/centerim -s msg
-p jab -t [EMAIL PROTECTED]
}

From the Nagios log, I see it calling notify-by-jabber but I get no such
alert (I was using $CONTACTPAGER$ as the -t parameter, but tried
hardcoding it in the command and it still doesn't work).

Any ideas as to what might cause this?

On an aside, I have implemented sec.pl, but still have Nagios spending
too much time processing notifications, so really need to replace the
slow notify_by_jabber perl script. Centerim looks ideal, but for some
reason isn't working.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Contacting Ethen

2007-11-15 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: 15 November 2007 14:17
 To: Nagios List
 Subject: [Nagios-users] Contacting Ethen
 
 I'd like to get ahold of Ethen about consulting Nagios installations.
I
 want to start doing installs of the Nagios system for businesses in my
 area, as there is a lot of need for it. How would be the best way to
get
 in contact with him to discuss this?
 
 Stephen
 
http://www.nagios.com/contact/


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Were can I find the check_snmp plugin

2007-11-14 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: 13 November 2007 22:14
 To: Hugo van der Kooij
 Cc: [EMAIL PROTECTED]; Nagios Users
Mailinglist
 Subject: Re: [Nagios-users] Were can I find the check_snmp plugin
 
 Please do not apply windows procedures in a unix environment. Work the
 problem. Solve it step by step. Pay attention to the exact responses
and
 the exact commands.HOW AM CAN I TELL 

That's about as far as anyone will read your last post.

I am seriously beginning to wonder whether you are a troll.

You will need to go back to square one:
http://www.catb.org/~esr/faqs/smart-questions.html

Once you've read and properly absorbed then proceed to square two:
http://tldp.org

And finally, once you've spent a few years on that, with test
environments and the like, proceed to:
http://www.nagios.org/

If you can't be bothered with the above steps then you have two choices:

(a) Use another product.
(b) Get someone else to do it for you.

Please bear in mind that the advice you get here is purely voluntary and
most people here are simply here to gain information from discussion and
pass their experiences on to others. In the short time that you've
participated on this list, you've simply posted demands for information
repeatedly without ever properly communicating exactly what your problem
has been. I would imagine that many have already set up mail filters to
/dev/null your email address.

I am not personally attacking you here, but I feel that there is a
shared consensus.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Regarding check_oracle

2007-11-14 Thread Giles Coochey
 Dear All,
 I m trying to monitor using check_oracle
 plugin.But whn i checked my oracle from Plugin like ./check_oracle
--tns
 orcl and it gives me ok status but whn i used this by putting entry in
 hosts, services and chkcommands thn if gives like Oracle Home is not
set
 for sid.
 

Checkout
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg05446.
html


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Status display colors

2007-11-13 Thread Giles Coochey


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Israel Brewster
 Sent: 12 November 2007 23:27
 To: Nagios Users mailinglist
 Subject: [Nagios-users] Status display colors
 
 Is there any way to change the colors generated by status.cgi? My
 boss is complaining that it is really hard for him to read the dark
 blue hostname on the dark red background you get when a host is down.
 Thanks!
 

I use the Nuvola style from the NagiosExchange website, for me it's an
instant improvement in the look and feel of the Nagios frontend.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] nsclient, is it still an acceptable method to monitor nt

2007-11-09 Thread Giles Coochey
 
 Steve Ensley wrote:
  I'm upgrading another departments Nagios 1.3 instance to Nagios 2.9.
 they
  are using nsclient to get some info from some nt servers.  Most of
my
 Nagios
  experience has been monitoring Unix servers.
 
  The website at http://nsclient.ready2run.nl/ for nsclient doesnt
seem to
  have been touched since 2004.  Is it still a viable method to
monitor nt
  servers or is there somthing else I should be looking into to
replace
 it.
 
 
 Try NSClient++ instead. It's at sourceforge somewhere, and is quite a
lot
 fresher. NSClient might work, but it's getting rather ancient.
 

I had this same quandary sometime back.

Options were

NSClient (seems too old, not being developed)
NSClient++ (presumably enhanced in some way)
OpServices version of NSClient (still being developed)
NC_Net (still being developed)

In the end I simply went with NC_Net and it appears to work for us just
fine, and I often see the author on this list, which tells me that he's
still involved with Nagios in some way.

It would be nice if all the different people who independently developed
all the different versions 'unforked' their efforts though :-), it would
make the decision on which one to use much easier, by having a lack of
choice!!

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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


  1   2   >